mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 01:21:34 -05:00
Switch back to LUKS1
Grub does not nicely work with LUKS2 Argon yet, and grub-install is broken with LUKS2
This commit is contained in:
parent
19702d39ea
commit
f6f6b7f3a3
@ -77,7 +77,7 @@ mkfs.fat -F 32 $ESP &>/dev/null
|
|||||||
|
|
||||||
# Creating a LUKS Container for the root partition.
|
# Creating a LUKS Container for the root partition.
|
||||||
echo "Creating 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."
|
echo "Opening the newly created LUKS Container."
|
||||||
cryptsetup open $cryptroot cryptroot
|
cryptsetup open $cryptroot cryptroot
|
||||||
BTRFS="/dev/mapper/cryptroot"
|
BTRFS="/dev/mapper/cryptroot"
|
||||||
@ -270,7 +270,7 @@ arch-chroot /mnt /bin/bash -e <<EOF
|
|||||||
|
|
||||||
# Installing GRUB.
|
# Installing GRUB.
|
||||||
echo "Installing GRUB on /boot."
|
echo "Installing GRUB on /boot."
|
||||||
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 cryptodisk luks2 tpm" --disable-shim-lock &>/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.
|
# Creating grub config file.
|
||||||
echo "Creating GRUB config file."
|
echo "Creating GRUB config file."
|
||||||
|
Loading…
Reference in New Issue
Block a user