vault backup: 2026-05-15 11:10:09
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user