Michael D. Setzer II composed on 2022-12-10 15:28 (UTC+1000):
Wondering if possible to add non-Fedora options to EFI boot menu with
some
method similar to the 40_Custom. Thanks.
...
Also have this to run memtest since regular Fedora one doesn't
seem to work??
title memtest
find --set-root /memtest86+-5.31b.iso
#Uses memdisk from syslinux 6.04pre1
kernel /memdisk iso
initrd /memtest86+-5.31b.iso
memtest86+ I've never tried on UEFI. For UEFI I
use memtest86, and in
/boot/grub2/custom.cfg to run it I have this head:
menuentry "memtest86 8.3 EFI" {
search --no-floppy --label --set=root PNY5P01ESP
chainloader /mt83x64.efi
}
/boot/grub2/custom.cfg is utilized as a consequence of my customization of
/etc/grub.d/, which quite simply moves the content of 40_custom to 06_custom,
leaving 40_custom empty.
/boot/grub2/custom.cfg contains all the boot stanzas I routinely use on UEFI, as
grub2-mkconfig places all custom.cfg stanzas ahead of its own auto-generated ones
in grub.cfg as a consequence of 06_custom content.
IOW, NAICT, 40_custom in grub2-efi works no differently with UEFI than in grub2
legacy booting.
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata