mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
1.0.06 release
This commit is contained in:
@@ -74,6 +74,9 @@ function distro_specify_initrd_file {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -127,6 +130,11 @@ function uefi_linux_menu_func {
|
||||
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
|
||||
@@ -136,7 +144,7 @@ function uefi_linux_menu_func {
|
||||
|
||||
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"
|
||||
@@ -209,7 +217,6 @@ function uefi_iso_memdisk {
|
||||
|
||||
|
||||
|
||||
|
||||
function legacy_windows_menu_func {
|
||||
vt_windows_reset
|
||||
|
||||
@@ -348,7 +355,7 @@ function legacy_iso_memdisk {
|
||||
#############################################################
|
||||
#############################################################
|
||||
|
||||
set VENTOY_VERSION="1.0.05"
|
||||
set VENTOY_VERSION="1.0.06"
|
||||
|
||||
#disable timeout
|
||||
unset timeout
|
||||
|
Reference in New Issue
Block a user