diff --git a/etc/bootloader/grub b/etc/bootloader/grub index 3903be9..a9c4d16 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -39,7 +39,7 @@ config() { tar cf /boot/grub/memdisk.tar /boot/grub/${KEY_LANG}.gkb echo "set root=(memdisk)" > /boot/grub/early-grub.cfg - echo "set prefix=($root)/" >> /boot/grub/early-grub.cfg + echo "set prefix=(\$root)/" >> /boot/grub/early-grub.cfg echo "insmod gzio" >> /boot/grub/early-grub.cfg echo "insmod part_gpt" >> /boot/grub/early-grub.cfg echo "insmod cryptodisk" >> /boot/grub/early-grub.cfg @@ -63,7 +63,7 @@ config() { echo "cryptomount -a" >> /boot/grub/early-grub.cfg echo "set root='lvm/vg_${TARGETNAME_UNDERSCORE}/vg_${TARGETNAME_UNDERSCORE}-root'" >> /boot/grub/early-grub.cfg #echo "set prefix=($root)/rootfs/boot/grub" >> /boot/grub/early-grub.cfg - echo "configfile ($root)/boot/grub.cfg" >> /boot/grub/early-grub.cfg + echo "configfile (\$root)/boot/grub.cfg" >> /boot/grub/early-grub.cfg echo "#!/bin/bash" > /usr/bin/gen-grub echo "cd /" >> /usr/bin/gen-grub