Ventoy Forums
Linux Grub - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Linux Grub (/showthread.php?tid=2726)



Linux Grub - iomari - 11-09-2023

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?


RE: Linux Grub - iomari - 11-22-2023

anbody?


RE: Linux Grub - Steve2926 - 11-23-2023

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?


RE: Linux Grub - iomari - 11-24-2023

(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