diff --git a/archinstall.sh b/archinstall.sh index d95e2e1..bf7126a 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -128,6 +128,7 @@ sleep 2 if [ $encryption -eq 1 ]; then echo "Creating Encrypted Root Partition" read -s -r -p "Please Enter the Encryption Passhprase: " lukspw + echo "" read -s -r -p "Please Verify the Encryption Passhprase: " lukspw2 [ "$lukspw" != "$lukspw2" ] && echo "Passphrases don't match!" && exit 1 echo -n "$lukspw" | cryptsetup luksFormat --type luks1 --cipher aes-xts-plain64 --hash sha512 --key-size 512 "${part_root}" - @@ -159,6 +160,7 @@ mount -o ssd,noatime,space_cache.compress=zstd,autodefrag,discard=async,subvol=@ mount -o ssd,noatime,space_cache.compress=zstd,autodefrag,discard=async,subvol=@portables "${root_dev}" /mnt/var/lib/portables chattr +C /mnt/var/log /mnt/var/cache/pacman/pkg if [[ "${systype}" == "x86_64-efi" ]]; then + mkdir -p /mnt/boot/efi mount "${part_esp}" /mnt/boot/efi fi