So I wiped my Zorin OS Boot USB and 'burned' the Ventoy .ISO file to it, then downloaded the latest Zorin OS Boot USB .ISO and Windows10 PE .ISO and dropped them onto the partition for the Ventoy Boot USB.
It works, Win10 PE boots up just fine, and I was finally able to use that to update the BIOS / UEFI for my HP machine (HP only provides Windows-specific .EXE files for their BIOS updates, and I couldn't figure out how to set up the files extracted from that .EXE file manually to update BIOS / UEFI natively), and the Zorin OS .ISO boots just fine.
The problem is that I have to press F9 to change the boot order, whereas before I had it set up so the Zorin OS Boot USB showed up in the Grub menu... I'd boot the machine, the Grub menu would come up, I'd ⇩ a few times to the "Zorin OS Boot USB" entry, and the boot USB would boot.
Now, however, I can't figure out how to get Ventoy to do the same.
Any ideas on how to chainload Ventoy so it shows up as an entry in the Grub menu?
This is what I've got in /etc/grub.d/40_custom
right now... it doesn't work, it says "invalid EFI":
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Ventoy Boot USB' {
insmod part_gpt
insmod ext2
insmod fat
insmod exfat
insmod ntfs
insmod chain
chainloader +1
search --no-floppy --set=root --fs-uuid 440A-1007 --file /grub/localboot.cfg
}
440A-1007 is the UUID of the Ventoy boot partition, as shown in sudo blkid
.