Renamed /dev/sda2 to sda1
This commit is contained in:
parent
30ae11027b
commit
418e989946
@ -1,11 +1,11 @@
|
||||
# Assuming /dev/sda is the target disk
|
||||
parted /dev/sda -- mklabel gpt
|
||||
parted /dev/sda -- mkpart primary ext4 1MiB 100%
|
||||
mkfs.ext4 /dev/sda2
|
||||
mount /dev/sda2 /mnt
|
||||
mkfs.ext4 /dev/sda1
|
||||
mount /dev/sda1 /mnt
|
||||
|
||||
cryptsetup luksFormat /dev/sda2
|
||||
cryptsetup open /dev/sda2 root
|
||||
cryptsetup luksFormat /dev/sda1
|
||||
cryptsetup open /dev/sda1 root
|
||||
mkfs.ext4 /dev/mapper/root
|
||||
mount /dev/mapper/root /mnt
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user