1.0.06 release

This commit is contained in:
longpanda
2020-04-18 22:14:10 +08:00
parent 63e9825d5d
commit 45d15a764f
13 changed files with 1194 additions and 29 deletions

View File

@@ -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

Binary file not shown.

Binary file not shown.

Binary file not shown.