2 if [ "$grub_platform" = "pc" ]; then
3 menuentry 'Search and boot Windows' --class=boot_windows {
4 if search -n -s -f /bootmgr; then
6 elif search -n -s -f /NTLDR; then
9 echo "Windows NOT found ..."
13 menuentry 'Search and boot Grub4dos' --class=boot_g4d {
14 if search -n -s -f /grldr; then
17 echo "Grub4dos NOT found ..."
21 menuentry 'Boot the 1st local disk' --class=boot_disk {
27 menuentry 'Boot the 2nd local disk' --class=boot_disk {
33 menuentry 'Boot the 3rd local disk' --class=boot_disk {
41 menuentry 'Search and boot Windows' --class=boot_windows {
42 if search -n -s -f /EFI/Microsoft/Boot/bootmgfw.efi; then
43 terminal_output console
44 chainloader /EFI/Microsoft/Boot/bootmgfw.efi
47 echo "Windows NOT found ..."
51 menuentry 'Search and boot BOOTX64.EFI' --class=boot_uefi {
52 if search -n -s -f /efi/boot/bootx64.efi; then
53 terminal_output console
54 chainloader /efi/boot/bootx64.efi
57 echo "BOOTX64.EFI NOT found ..."
63 menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET {