if [ "$grub_platform" = "pc" ]; then
- menuentry 'Search and boot Windows' --class=boot_windows --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_WINDOWS' --class=boot_windows --class=F4boot {
set partid=3
while [ $partid -le 128 ]; do
fi
}
- menuentry 'Search and boot Grub4dos' --class=boot_g4d --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_G4D' --class=boot_g4d --class=F4boot {
if search -n -s -f /grldr; then
ntldr /grldr
else
fi
}
- menuentry 'Boot the 1st local disk' --class=boot_disk --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_HDD1' --class=boot_disk --class=F4boot {
set root=(hd0,1)
chainloader +1
boot
}
- menuentry 'Boot the 2nd local disk' --class=boot_disk --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_HDD2' --class=boot_disk --class=F4boot {
set root=(hd1,1)
chainloader +1
boot
}
- menuentry 'Boot the 3rd local disk' --class=boot_disk --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_HDD3' --class=boot_disk --class=F4boot {
set root=(hd2,1)
chainloader +1
boot
else
- menuentry 'Search and boot Windows' --class=boot_windows --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_WINDOWS' --class=boot_windows --class=F4boot {
set partid=3
while [ $partid -le 128 ]; do
terminal_output console
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
+ elif [ -f ($vtoydev,$partid)/efi/Microsoft/Boot/bootmgfw.efi ]; then
+ set root=($vtoydev,$partid)
+ terminal_output console
+ chainloader /efi/Microsoft/Boot/bootmgfw.efi
+ boot
fi
else
break
terminal_output console
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
boot
+ elif search -n -s -f /efi/Microsoft/Boot/bootmgfw.efi; then
+ terminal_output console
+ chainloader /efi/Microsoft/Boot/bootmgfw.efi
+ boot
else
echo "Windows NOT found ..."
fi
}
if [ "$grub_cpu" = "i386" ]; then
- menuentry 'Search and boot BOOTIA32.EFI' --class=boot_uefi --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_IA32EFI' --class=boot_uefi --class=F4boot {
set VTOY_SEARCH_NO_VTOYEFI=1
if search -n -s -f /efi/boot/bootia32.efi; then
unset VTOY_SEARCH_NO_VTOYEFI
fi
}
- menuentry 'Search and boot xorboot' --class=boot_xorboot --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_XORBOOT' --class=boot_xorboot --class=F4boot {
set VTOY_SEARCH_NO_VTOYEFI=1
if search -n -s -f /efi/xorboot/xorboot32.xor; then
unset VTOY_SEARCH_NO_VTOYEFI
fi
}
elif [ "$grub_cpu" = "arm64" ]; then
- menuentry 'Search and boot BOOTAA64.EFI' --class=boot_uefi --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_AA64EFI' --class=boot_uefi --class=F4boot {
set VTOY_SEARCH_NO_VTOYEFI=1
if search -n -s -f /efi/boot/bootaa64.efi; then
unset VTOY_SEARCH_NO_VTOYEFI
fi
}
else
- menuentry 'Search and boot BOOTX64.EFI' --class=boot_uefi --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_X64EFI' --class=boot_uefi --class=F4boot {
set VTOY_SEARCH_NO_VTOYEFI=1
if search -n -s -f /efi/boot/bootx64.efi; then
unset VTOY_SEARCH_NO_VTOYEFI
fi
}
- menuentry 'Search and boot xorboot' --class=boot_xorboot --class=F4boot {
+ menuentry '@VTMENU_LB_SBOOT_XORBOOT' --class=boot_xorboot --class=F4boot {
set VTOY_SEARCH_NO_VTOYEFI=1
if search -n -s -f /efi/xorboot/xorboot.xor; then
unset VTOY_SEARCH_NO_VTOYEFI
fi
-menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {
+menuentry '@VTMENU_RETURN_PREVIOUS' --class=vtoyret VTOY_RET {
echo 'Return ...'
}