mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
move kernel parameters in grub config
move kernel parameters from GRUB_CMDLINE_LINUX_DEFAULT to GRUB_CMDLINE_LINUX
This commit is contained in:
parent
b6f1d587de
commit
08b0a72138
1 changed files with 1 additions and 1 deletions
|
|
@ -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 <<EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue