How to enable GRUB submenus?

Hi,

I want the older kernels and the rescue options to be in a GRUB submenu. I already tried setting GRUB_DISABLE_SUBMENU to false in /etc/grub/grub , but it didn’t work. How can I get it to worK?

What I currently have:

  • Fedora with the latest kernel
  • Fedora with the second latest kernel
  • Fedora with the third latest kernel
  • Fedora recovery
  • Windows 10

What I want:

  • Fedora with the latest kernel
    V Advanced options for Fedora
    |---- Fedora with the second latest kernel
    |---- Fedora with the third latest kernel
    |---- Fedora recovery
  • Windows 10

My current /etc/grub/grub:

GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=false
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="resume=UUID=deffc5ac-2af8-46b0-b98f-72fcd1adf374 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="false"
GRUB_ENABLE_BLSCFG=true

GRUB_SAVEDEFAULT=true

I of course generated the new grub configuration file with grub-mkconfig, but it is still not working.

1 Like

Changes/BootLoaderSpecByDefault - Fedora Project Wiki

2 Likes

I see, but how does that helps me with my issue?

Disabling that feature should make submenu work.