From 625f0971326e3673ce7eab3c025bde86c432e543 Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Mon, 21 Jun 2021 23:46:40 -0400 Subject: [PATCH] Switch back to LUKS1 Grub does not nicely work with LUKS2 Argon yet, and grub-install is broken with LUKS2 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index ebf9876..84e9390 100644 --- a/install.sh +++ b/install.sh @@ -77,7 +77,7 @@ mkfs.fat -F 32 $ESP &>/dev/null # Creating a LUKS Container for the root partition. echo "Creating LUKS Container for the root partition." -cryptsetup luksFormat $cryptroot +cryptsetup luksFormat --type luks1 $cryptroot echo "Opening the newly created LUKS Container." cryptsetup open $cryptroot cryptroot BTRFS="/dev/mapper/cryptroot" @@ -270,7 +270,7 @@ arch-chroot /mnt /bin/bash -e </dev/null + grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --modules="normal test efi_gop efi_uga search echo linux all_video gfxmenu gfxterm_background gfxterm_menu gfxterm loadenv configfile" --disable-shim-lock &>/dev/null # Creating grub config file. echo "Creating GRUB config file."