Commit 216d20
2026-08-05 21:45:41 Niklas Polke: Create SSD| /dev/null .. linux/ssd.md | |
| @@ 0,0 1,40 @@ | |
| + | # SSD |
| + | |
| + | ## Create New Partition |
| + | |
| + | ### What is currently on the ssd |
| + | ```bash |
| + | lsblk -p -o NAME,SIZE,MODEL,FSTYPE,PARTTYPENAME,LABEL,UUID,MOUNTPOINTS /dev/sda |
| + | ``` |
| + | expected result: |
| + | ```bash |
| + | /dev/sda |
| + | ├─/dev/sda1 128M Microsoft reserved partition |
| + | └─/dev/sda2 476.8G ntfs Microsoft basic data |
| + | ``` |
| + | :::warning |
| + | no mountpoint should be visible! |
| + | ::: |
| + | |
| + | ### Create one big partition |
| + | ```bash |
| + | sudo parted --script --align optimal /dev/sda \ |
| + | mklabel gpt \ |
| + | mkpart primary ext4 1MiB 100% |
| + | ``` |
| + | check result with |
| + | ```bash |
| + | lsblk -f /dev/sda # and |
| + | blkid /dev/sda1 |
| + | ``` |
| + | expected result like: |
| + | ```bash |
| + | user@raspberrypi2b:~ $ lsblk -f /dev/sda |
| + | NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS |
| + | sda |
| + | └─sda1 ext4 1.0 ssd-data 4339f544-10cc-4d8b-a6a0-54425e97b932 |
| + | |
| + | user@raspberrypi2b:~ $ blkid /dev/sda1 |
| + | /dev/sda1: LABEL="ssd-data" UUID="4339f544-10cc-4d8b-a6a0-54425e97b932" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="71766893-52af-4e1d-83bd-0b7b0dc171be" |
| + | user@raspberrypi2b:~ $ |
| + | ``` |
