This commit is contained in:
teldra 2022-02-09 20:14:03 +01:00
parent a03a1ff36d
commit c9a5f784ff

View File

@ -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