diff --git a/install.sh b/install.sh index 7e81f18..9633e92 100644 --- a/install.sh +++ b/install.sh @@ -17,6 +17,12 @@ mkfs.ext4 ${DISK}2 # Mount the partitions mount ${DISK}2 /mnt + +cryptsetup luksFormat /dev/sda2 +cryptsetup open /dev/sda2 root +mkfs.ext4 /dev/mapper/root +mount /dev/mapper/root /mnt + mkdir -p /mnt/boot mount ${DISK}1 /mnt/boot