Blame
|
1 | # SSD |
||||||
| 2 | ||||||||
| 3 | ## Create New Partition |
|||||||
| 4 | ||||||||
| 5 | ### What is currently on the ssd |
|||||||
| 6 | ```bash |
|||||||
| 7 | lsblk -p -o NAME,SIZE,MODEL,FSTYPE,PARTTYPENAME,LABEL,UUID,MOUNTPOINTS /dev/sda |
|||||||
| 8 | ``` |
|||||||
| 9 | expected result: |
|||||||
| 10 | ```bash |
|||||||
| 11 | /dev/sda |
|||||||
| 12 | ├─/dev/sda1 128M Microsoft reserved partition |
|||||||
| 13 | └─/dev/sda2 476.8G ntfs Microsoft basic data |
|||||||
| 14 | ``` |
|||||||
| 15 | :::warning |
|||||||
| 16 | no mountpoint should be visible! |
|||||||
| 17 | ::: |
|||||||
| 18 | ||||||||
| 19 | ### Create one big partition |
|||||||
| 20 | ```bash |
|||||||
| 21 | sudo parted --script --align optimal /dev/sda \ |
|||||||
| 22 | mklabel gpt \ |
|||||||
| 23 | mkpart primary ext4 1MiB 100% |
|||||||
| 24 | ``` |
|||||||
| 25 | check result with |
|||||||
| 26 | ```bash |
|||||||
| 27 | lsblk -f /dev/sda # and |
|||||||
| 28 | blkid /dev/sda1 |
|||||||
| 29 | ``` |
|||||||
| 30 | expected result like: |
|||||||
| 31 | ```bash |
|||||||
| 32 | user@raspberrypi2b:~ $ lsblk -f /dev/sda |
|||||||
| 33 | NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS |
|||||||
| 34 | sda |
|||||||
| 35 | └─sda1 ext4 1.0 ssd-data 4339f544-10cc-4d8b-a6a0-54425e97b932 |
|||||||
| 36 | ||||||||
| 37 | user@raspberrypi2b:~ $ blkid /dev/sda1 |
|||||||
| 38 | /dev/sda1: LABEL="ssd-data" UUID="4339f544-10cc-4d8b-a6a0-54425e97b932" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="71766893-52af-4e1d-83bd-0b7b0dc171be" |
|||||||
| 39 | user@raspberrypi2b:~ $ |
|||||||
| 40 | ``` |
|||||||
