Skip to content

Commit

Permalink
1.0.08beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Apr 27, 2020
1 parent ad9a031 commit 212c9cd
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 1 deletion.
Binary file modified INSTALL/EFI/BOOT/grubx64_real.efi
Binary file not shown.
32 changes: 31 additions & 1 deletion INSTALL/grub/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -395,7 +422,7 @@ function legacy_iso_memdisk {
#############################################################
#############################################################

set VENTOY_VERSION="1.0.08b1"
set VENTOY_VERSION="1.0.08b2"

#disable timeout
unset timeout
Expand All @@ -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
Expand Down
Binary file modified INSTALL/grub/i386-pc/core.img
Binary file not shown.
Binary file modified INSTALL/grub/themes/ventoy/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions INSTALL/grub/themes/ventoy/theme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
Binary file modified INSTALL/grub/x86_64-efi/normal.mod
Binary file not shown.
Binary file modified INSTALL/ventoy/ventoy.cpio
Binary file not shown.
Binary file modified VtoyTool/vtoytool/00/vtoytool_32
Binary file not shown.
Binary file modified VtoyTool/vtoytool/00/vtoytool_64
Binary file not shown.

0 comments on commit 212c9cd

Please sign in to comment.