Ventoy Forums

Full Version: Linux Grub
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,
I'm trying to add ventoy to my Ubuntu grub menu.
My ventoy is installed on a 2nd ssd drive on my laptop as sdb.
My /etc/grub.d/40_custom file is:

#!/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
search --no-floppy --set=root --fs-uuid 8CC4-D433
set search_efi_path=(hd1,2)/ventoy
# chainloader /dev/sdb2/ventoy/ventoy_x64.efi
chainloader (hd1,2)/ventoy/ventoy_x64.efi
}

I've run update-grub and when I boot I see ventoy on the grub list:
But when I run it I get"
"Invalid signature"

What am I doing wrong?
anbody?
grub menu.
My ventoy is installed on a 2nd ssd drive on my laptop as sdb.
My /etc/grub.d/40_custom file is:

#!/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
search --no-floppy --set=root --fs-uuid 8CC4-D433
set search_efi_path=(hd1,2)/ventoy
# chainloader /dev/sdb2/ventoy/ventoy_x64.efi
chainloader (hd1,2)/ventoy/ventoy_x64.efi
}

I've run update-grub and when I boot I see ventoy on the grub list:
But when I run it I get"
"Invalid signature"

What am I doing wrong?

-------------

Do you have secure boot enabled?
(11-23-2023, 09:52 AM)Steve2926 Wrote: [ -> ]grub menu.
My ventoy is installed on a 2nd ssd drive on my laptop as sdb.
My /etc/grub.d/40_custom file is:

#!/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
search --no-floppy --set=root --fs-uuid 8CC4-D433
set search_efi_path=(hd1,2)/ventoy
# chainloader /dev/sdb2/ventoy/ventoy_x64.efi
chainloader (hd1,2)/ventoy/ventoy_x64.efi
}

I've run update-grub and when I boot I see ventoy on the grub list:
But when I run it I get"
"Invalid signature"

What am I doing wrong?

-------------

Do you have secure boot enabled?

No