mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Merge pull request #34 from i-c-u-p/patch-1
move kernel parameters in grub config
This commit is contained in:
commit
4656ae7168
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