]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
fix Parabola rEFInd booting (#989)
authorDavid P <megver83@parabola.nu>
Tue, 6 Jul 2021 02:07:21 +0000 (23:07 -0300)
committerGitHub <noreply@github.com>
Tue, 6 Jul 2021 02:07:21 +0000 (10:07 +0800)
newer Parabola rEFInd ISOs need to run vt_linux_get_main_initrd_index to actually work, just like the systemd-boot ISOs

INSTALL/grub/grub.cfg

index df8d856ca89ffec592c1b0122dd2dbdfb706e4fe..6c3c10d4def6f204af04f6596a5e7dd1ba7bf3eb 100644 (file)
@@ -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