0

I use Grub to boot Ubuntu and Windows. Added now an additional SSD that was set up with Ventoy (latest version).

I spent hours today trying to find instructions on how to include Ventoy in my Grub menu. Unfortunately, none of the many variations worked.

Who knows how I can integrate this new Ventoy drive into Grub step by step ?

2 Answers2

0

To connect Grub with Ventoy I use the Grub Customizer with the entries

insmod part_gpt
insmod ext2
insmod fat
insmod exfat
insmod ntfs
insmod chain
search --no-floppy --set=root --fs-uuid xxxx-xxxx (= UUID of the Ventoy boot drive)
chainloader /EFI/BOOT/grub.efi

oldfred had already linked an integration with grub. This is how the whole thing works in my system.

Daniel T
  • 5,339
0

You can add Ventoy disk to grub menu. also, you can add grub 2.12 to Ventoy menu.

1. Adding Ventoy disk to grub menu

In the bios based device, add the following menu to boot from Ventoy disk:

menuentry "Ventoy Disk" {
set root=(hd1)
chainloader +1
}

We assume that Ventoy Disk is hd1 because you booting from hd0. also, the following menu worked with me:

menuentry "Ventoy Disk" {
    set root=(hd1,2)
    chainloader +1
    }

The last menu entry worked because Ventoy files placed on the second partition in Ventoy disk. when we chain this partition this will reload the Ventoy bootloader after pressing any key.

2. Adding grub 2.12 to ventoy menu:

Ventoy is based on modified grub 2.04, but I use a workaround to load grub 2.12 to boot from Ubuntu partition and use all my menu entrys that are based on grub 2.12. the workaround is making grub.iso by mkrescue command from your Ubuntu, and adding this ISO file to the first partition on the Ventoy Disk.

To make grub.iso:

mkdir -p disk/boot/grub
grub-mkrescue -o grub.iso disk

Before make this ISO file, you can add extra files to ~/disk/boot/grub like your grub.cfg file or modified one.

This is my Ventoy disk boot menu:

enter image description here

Invoking grub-mkrescue

Making a GRUB bootable CD-ROM

Talaat Etman
  • 1,340