Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

Does it could be possible to install ventoy as chained grub in a regular /boot partition ?

Open gillg opened this issue 3 years ago • 1 comments

Official FAQ

  • [X] I have checked the official FAQ.

Ventoy Version

1.0.74

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

20Gb

Disk Manufacturer

No response

Image file checksum (if applicable)

No response

Image file download link (if applicable)

No response

What happened?

Does it could be possible to install ventoy as chained grub in a regular /boot partition ? I made a try by copying the content of a regular install in a fake drive to my "boot" partition in (boot_drive)/ventoy/[EFI|ventoy|grub] In fact the EFI folder is never used because my system boot from my hard dirve EFI partition where I have a signed EFI shim. Then in my hard drive grub ((boot_drive)/grub2/grub.cfg) I tried to add :

menuentry 'Ventoy local' {
        search --set=root --file /ventoy/ventoy/ventoy_x64.efi
        set vtoydev=hd0  # I would be able to make this part more dynamic but for the test it's acceptable
        set prefix=($root)/ventoy/grub
        set vtoy_iso_part=($root)/iso
        set vtoy_efi_part=($root)/ventoy
        configfile ventoy/grub/grub.cfg
}

The idea behind is to be able to have a (boot_drive)/iso folder to store permanentely utility images and avoid manual tricks all the time in the main grub file... Just because ventoy make things a lot easier nevermind if you try to boot an ubuntu, fedora, kali, windows, etc.

Obviously if I create this issue it's because it doesn't work... :sweat_smile: does anyone has an idea or thinks it could be possible ?

gillg avatar May 21 '22 17:05 gillg

NO. Ventoy must be installed to a disk (USB/HDD...) to use and can not chained by other bootloader.

ventoy avatar Jun 20 '22 08:06 ventoy