Page 1 of 1
Chainload Ventoy USB from grub.cfg
Posted: Fri Jul 12, 2024 12:28 pm
by fredx181
Just to share what I recently found out and I like it.
If you have the GRUB2 bootloader installed on your HDD, it's more convenient IMO to chainload Ventoy USB from grub.cfg than having to select your USB from the BIOS (or whatever needed to boot from USB).
This entry in grub.cfg works for me to boot Ventoy USB directly:
Code: Select all
menuentry 'Ventoy' {
insmod part_gpt
insmod fat
insmod ext2
set root='hd0,2'
chainloader ($root)/EFI/BOOT/BOOTX64.EFI
}
edit: perhaps the insmod ... lines are not (all) needed
Re: Chainload Ventoy USB from grub.cfg
Posted: Fri Jul 12, 2024 2:45 pm
by wiak
fredx181 wrote: Fri Jul 12, 2024 12:28 pm
Just to share what I recently found out and I like it.
If you have the GRUB2 bootloader installed on your HDD, it's more convenient IMO to chainload Ventoy USB from grub.cfg than having to select your USB from the BIOS (or whatever needed to boot from USB).
This entry in grub.cfg works for me to boot Ventoy USB directly:
Code: Select all
menuentry 'Ventoy' {
insmod part_gpt
insmod fat
insmod ext2
set root='hd0,2'
chainloader ($root)/EFI/BOOT/BOOTX64.EFI
}
edit: perhaps the insmod ... lines are not (all) needed
Nice find, that's very useful info for me too - I'm fed up having to go into BIOS or similar...
Re: Chainload Ventoy USB from grub.cfg
Posted: Fri Jul 12, 2024 10:38 pm
by Clarity
Cuts down on time and similar in getting to the list of ISOs to boot.
In my test PCs, they all are set to look for media in this order (this negated my need for UEFI interruption at boot.
Order they check for media:
DVD drive
USB port
System drive
Network
Finding no bootables in the first 3, the PC finds an always-on laptop providing a PXE @fatdog and boots the PC to desktop.
But, I like the idea of using the system drive's OS's GRUB Menu list to offer something sitting in a USB drive.
Thanks!!!