diff --git a/install.sh b/install.sh index b042c71..71b0796 100644 --- a/install.sh +++ b/install.sh @@ -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