]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
fix issue #516
authorlongpanda <admin@ventoy.net>
Fri, 9 Oct 2020 11:57:35 +0000 (19:57 +0800)
committerlongpanda <admin@ventoy.net>
Fri, 9 Oct 2020 11:57:35 +0000 (19:57 +0800)
Arch 2020.10.1 iso boot failed in UEFI mode.

INSTALL/grub/grub.cfg

index 7e33c3bd6c8be8dac048239a319c90812cb158be..cab1b942d4112c2176f02e43109c68a60b4dfaa5 100644 (file)
@@ -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"
             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 [ -f (loop)/boot/initramfs_x86_64.img ]; then
                     vt_add_replace_file $vtindex "boot\\initramfs_x86_64.img"
                 fi