From: longpanda Date: Fri, 9 Oct 2020 11:57:35 +0000 (+0800) Subject: fix issue #516 X-Git-Tag: v1.0.23~2 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/97312d351eaac0699d7bc0247ed8cd3161b45d49?ds=sidebyside fix issue #516 Arch 2020.10.1 iso boot failed in UEFI mode. --- diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index 7e33c3b..cab1b94 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -496,6 +496,8 @@ 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