progress
This commit is contained in:
parent
a03a1ff36d
commit
c9a5f784ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user