From: David P Date: Tue, 6 Jul 2021 02:07:21 +0000 (-0300) Subject: fix Parabola rEFInd booting (#989) X-Git-Tag: v1.0.47~13 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/6b78603dd36f98a1ad20809739177c8c200e417b fix Parabola rEFInd booting (#989) newer Parabola rEFInd ISOs need to run vt_linux_get_main_initrd_index to actually work, just like the systemd-boot ISOs --- diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index df8d856..6c3c10d 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -638,6 +638,8 @@ function uefi_linux_menu_func { vt_add_replace_file 0 "EFI\\hyperiso\\hyperiso.img" fi elif [ -d (loop)/EFI/BOOT/entries ]; then + vt_linux_get_main_initrd_index vtindex + if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then vt_add_replace_file 0 "EFI\\parabolaiso\\parabolaiso.img" elif [ -f (loop)/parabola/boot/x86_64/initramfs-linux-libre.img ]; then