On 12/30/25 4:38 AM, Tim via users wrote:
On Tue, 2025-12-30 at 00:58 +0000, Barry wrote:
I guess I am not sure what a grub submenu is.
What would be an example of one?
On a multi-boot system you could have something like.
Boot Fedora
Ubuntu
Windows
And if you chose one of the linux options, then you'd get to pick which
of their kernels to boot.
I've never seen that on Fedora though, only on other distros. On
Fedora I've only seen a flat menu.
Boot Fedora <newest kernel number>
Fedora <next newest kernel number>
Fedora <oldest kernal number>
Windows
Fedora has lots of options available controlled by the executables in
/etc/grub.d. If you have multiple installations they are picked up by
30_osprober and stanzas are entered in grub.cfg. Normally the blscfg
entries in /boot/loader/entries have precedence followed by the
entries in grub.cfg. This can be overridden by tweaks with 41_custom
and 40_custom.
Hi Robert, things don't necessarily work exactly that way. If BLSCFG is
active, then grub.cfg only contains a flat menu of the entries in
/boot/loader/entries which doesn't include an entry for Windows, and as
you have said the Windows entry is added by 30_osprober.
if BLSCFG is disabled in /etc/default/grub then grub2-mkconfig builds a
sub-menu for kernels as well as listing the most recent kernel in the
top menu, and then 30_osprober adds the Windows entry in the main menu.
If Ubuntu is available as well then grub2-mkconfig adds the most recent
Ubuntu kernel to the main menu and a sub-menu of all the Ubuntu kernels
(as you have said they are added by 30_osprober). This is all also
assuming /etc/default/grub specifies to create sub-menus.
regards,
BEGIN:VCARD
VERSION:4.0
N:Morris;Stephen;;;
FN:Stephen Morris
EMAIL;PREF=1;TYPE=home:[email protected]
END:VCARD
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue