1.0.08beta2

This commit is contained in:
longpanda 2020-04-27 20:44:33 +08:00
parent ad9a031092
commit 212c9cdbc9
9 changed files with 39 additions and 1 deletions

Binary file not shown.

View File

@ -16,6 +16,33 @@
#
#************************************************************************************
function ventoy_boot_from_hdd {
if [ "$grub_platform" = "pc" ]; then
if [ "$iso_path" = "(hd0,1)" ]; then
if [ -b (hd1) ]; then
set root=(hd1)
drivemap -s hd0 hd1
chainloader +1
boot
else
echo "No local hdd found ..."
sleep 3
fi
else
set root=(hd0)
chainloader +1
boot
fi
else
exit
fi
}
function ventoy_reboot {
reboot
}
function get_os_type {
set vtoy_os=Linux
for file in "efi/microsoft" "sources/boot.wim" "boot/bcd" "bootmgr.efi" "boot/etfsboot.com"; do
@ -395,7 +422,7 @@ function legacy_iso_memdisk {
#############################################################
#############################################################
set VENTOY_VERSION="1.0.08b1"
set VENTOY_VERSION="1.0.08b2"
#disable timeout
unset timeout
@ -404,6 +431,9 @@ set VTOY_MEM_DISK_STR="MEMDISK"
set VTOY_ISO_RAW_STR="ISO RAW"
set VTOY_ISO_UEFI_DRV_STR="UEFI FS"
set VTOY_F2_CMD="ventoy_boot_from_hdd"
set VTOY_F3_CMD="ventoy_reboot"
vt_device $root vtoy_dev
if [ "$vtoy_dev" = "tftp" ]; then

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View File

@ -49,6 +49,14 @@ terminal-box: "terminal_box_*.png"
highlight_style = "*"
}
+ hbox{
left = 40%
top = 95%
width = 10%
height = 25
+ label {text = "F1:Memdisk" color = "blue" align = "left"}
}
+ hbox{
left = 90%

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.