Ventoy Forums

Full Version: Grub entry to boot ventoy? - mbr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have installed ventoy to some hardrives of mine, one is uefi the other is MBR

By default with these drives plugged my pc wil default to ventoy
Sometimes I use supergrub live to generate a live entry of the other operating systems installed on the same disks, but it's a slow process

I would like to boot these drives with grub and see a menu entry to boot ventoy

Has anybody done this?

If so could you please copy paste your grub entry that boots ventoy and I will modify it accordingly

Thanks
The ventoy disk will be bootable (as the MBR must contain the specially modified Ventoy code) and the first two partitions must be present with the 2nd one being the Ventoy boot code partition.

So for MBR booting, I imagine you would just use a grub chainloader command to boot the disk mbr bootcode
maybe
chainloader (hdX)+1
where X is your Ventoy disk

For UEFI booting, you can maybe chainload the Ventoy EFI boot files ?
chainloader (hdX,2)/EFI/BOOT/BOOTX64.EFI
(06-03-2024, 01:32 PM)Steve2926 Wrote: [ -> ]The ventoy disk will be bootable (as the MBR must contain the specially modified Ventoy code) and the first two partitions must be present with the 2nd one being the Ventoy boot code partition.

So for MBR booting, I imagine you would just use a grub chainloader command to boot the disk mbr bootcode
maybe
chainloader (hdX)+1
where X is your Ventoy disk

For UEFI booting, you can maybe chainload the Ventoy EFI boot files ?
chainloader (hdX,2)/EFI/BOOT/BOOTX64.EFI



Just load Grldr Lochain on Ventoy and it will work.

When it's uefi...
The same goes for grub4dos.
There is a separate bootx64 file. But the same goes for Bentoy.  therefore
Place the bootx64 file from grub4dos uefi into the grub folder on the first partition of Ventoy.

The bootx64 file of grub4dos uefi needs to be modified to hexadecimal.
Any location where menu.lst is loaded must be modified to work without conflicting with Ventoy.

I have been using it for a long time already.