]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
fix issue #516
[Ventoy.git] / INSTALL / grub / grub.cfg
index f517d0ae646d7feaf461ec2d5eb3d89a5befcd8e..cab1b942d4112c2176f02e43109c68a60b4dfaa5 100644 (file)
@@ -496,14 +496,14 @@ function uefi_linux_menu_func {
             if [ -d (loop)/arch ]; then
                 if [ -f (loop)/arch/boot/x86_64/archiso.img ]; then
                     vt_add_replace_file $vtindex "EFI\\archiso\\archiso.img"
+                elif [ -f (loop)/arch/boot/x86_64/initramfs-linux.img ]; then
+                    vt_add_replace_file $vtindex "arch\\boot\\x86_64\\initramfs-linux.img"
                 elif [ -f (loop)/boot/initramfs_x86_64.img ]; then
                     vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
                 fi
             elif [ -d (loop)/parabola ]; then
-                if [ -f (loop)/parabola/boot/x86_64/parabola.img ]; then
-                    vt_add_replace_file $vtindex "EFI\\parabola\\parabola.img"
-                elif [ -f (loop)/boot/initramfs_x86_64.img ]; then
-                    vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
+                if [ -f (loop)/parabola/boot/x86_64/parabolaiso.img ]; then
+                    vt_add_replace_file $vtindex "EFI\\parabolaiso\\parabolaiso.img"
                 fi
             elif [ -f (loop)/EFI/BOOT/initrd.gz ]; then
                 vt_add_replace_file $vtindex "EFI\\BOOT\\initrd.gz"