vault backup: 2026-05-15 11:10:09

This commit is contained in:
2026-05-15 11:10:09 +01:00
parent 0a5c778f3a
commit 0a21005713
+21
View File
@@ -37,3 +37,24 @@ or apply
sudo netplan apply
```
## drive partitions
create gpt partition table (for new drives without any partitions)
```
sudo parted /dev/sdx mklabel gpt
```
create new partition
```
sudo parted -a optimal /dev/sdx mkpart primary ext4 0% 100%
```
format the partition
```
sudo mkfs.ext4 /dev/sdxn
```
mount a drive
```
sudo mount /dev/sdxn /mnt/storage
```