vt_linux_specify_initrd_file /pmagic/initrd.img
elif [ -e (loop)/boot/initrd.xz ]; then
vt_linux_specify_initrd_file /boot/initrd.xz
+ elif [ -f (loop)/boot/initrd ]; then
+ vt_linux_specify_initrd_file /boot/initrd
+
fi
}
vt_linux_parse_initrd_grub dir (loop)/boot/grub/
fi
+ if [ -e (loop)/syslinux/alt0/full.cz ]; then
+ set LoadIsoEfiDriver=on
+ set FirstTryBootFile='@EFI@BOOT@grubx64.efi'
+ fi
+
distro_specify_initrd_file
locate_initrd
if [ -n "$vtoy_chain_mem_addr" ]; then
terminal_output console
- chainloader ${vtoy_path}/ventoy_x64.efi env_param=${env_param} isoefi=${LoadIsoEfiDriver} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
+ chainloader ${vtoy_path}/ventoy_x64.efi env_param=${env_param} isoefi=${LoadIsoEfiDriver} FirstTry=${FirstTryBootFile} ${vtdebug_flag} mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
boot
else
echo "chain empty failed"
-
function legacy_windows_menu_func {
vt_windows_reset
#############################################################
#############################################################
-set VENTOY_VERSION="1.0.05"
+set VENTOY_VERSION="1.0.06"
#disable timeout
unset timeout