From 08b0a721388430904e9ab064dda7dc7ef5060825 Mon Sep 17 00:00:00 2001 From: i-c-u-p <96894903+i-c-u-p@users.noreply.github.com> Date: Fri, 31 Dec 2021 01:25:21 +0000 Subject: [PATCH] move kernel parameters in grub config move kernel parameters from GRUB_CMDLINE_LINUX_DEFAULT to GRUB_CMDLINE_LINUX --- easy-arch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy-arch.sh b/easy-arch.sh index 95785dd..82d72e4 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -278,7 +278,7 @@ EOF # Setting up LUKS2 encryption in grub. print "Setting up grub config." UUID=$(blkid -s UUID -o value $CRYPTROOT) -sed -i "s,quiet,quiet rd.luks.name=$UUID=cryptroot root=$BTRFS,g" /mnt/etc/default/grub +sed -i "s,^GRUB_CMDLINE_LINUX=\"\",GRUB_CMDLINE_LINUX=\"rd.luks.name=$UUID=cryptroot root=$BTRFS\",g" /mnt/etc/default/grub # Configuring the system. arch-chroot /mnt /bin/bash -e <