Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Linux Grub
#1
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?
Reply
#2
anbody?
Reply
#3
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?
Reply
#4
(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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)