2 if [ "$grub_platform" = "pc" ]; then
3 menuentry 'Search and 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 'Boot the 1st local disk' {
19 menuentry 'Boot the 2nd local disk' {
25 menuentry 'Boot the 3rd local disk' {
33 menuentry 'Search and boot Windows' {
34 if search -n -s -f /EFI/Microsoft/Boot/bootmgfw.efi; then
35 terminal_output console
36 chainloader /EFI/Microsoft/Boot/bootmgfw.efi
39 echo "Windows NOT found ..."
43 menuentry 'Search and boot BOOTX64.EFI' {
44 if search -n -s -f /efi/boot/bootx64.efi; then
45 terminal_output console
46 chainloader /efi/boot/bootx64.efi
49 echo "BOOTX64.EFI NOT found ..."
55 menuentry 'Return to menu [Esc]' VTOY_RET {