From 6b78603dd36f98a1ad20809739177c8c200e417b Mon Sep 17 00:00:00 2001 From: David P Date: Mon, 5 Jul 2021 23:07:21 -0300 Subject: [PATCH] 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 --- INSTALL/grub/grub.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index df8d856c..6c3c10d4 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