grub.cfg: merge isolinux/grub usb menuentries

many modern distros use grub in their installer images,
so scan for grub.cfg first.

Signed-off-by: Leah Rowe <leah@libreboot.org>
9020vga
Leah Rowe 2023-12-18 08:05:37 +00:00
parent c4544e04bb
commit 6db94c1a11
1 changed files with 2 additions and 5 deletions

View File

@ -159,11 +159,8 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
true # Prevent pager requiring to accept each line instead of whole screen
}
menuentry 'Find and load GRUB config from USB drive [s]' --hotkey='s' {
search_grub usb
}
menuentry 'Find and load ISOLINUX/EXTLINUX from USB drive [u]' --hotkey='u' {
search_isolinux usb
menuentry 'Search for GRUB/SYSLINUX/EXTLINUX/ISOLINUX on USB [s]' --hotkey='s' {
search_bootcfg usb
}
menuentry 'Find and load ISOLINUX/EXTLINUX menu via AHCI [a]' --hotkey='a' {
search_isolinux ahci