How to hide the Grub menu on boot


I realise that there are lots of threads on this and I have read just about all of them, but 1. I don’t really know what I am doing and 2. My Grub file does not look like others that I have found.

Keen to get some help trying to hide the grub menu. I am currently seeing

  1. My Fedora install
  2. UEFI Firmware

My goal is to not see this screen. I believe it happened after doing updates and installing the nvidia drivers, but I am unsure.

Here is the output from my grub file.

GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"

You have that part of the cmdline repeated twice, but other than that it all seems good. That portion sometimes gets repeated if you install the nvidia drivers twice.

Others can give you the exact syntax but there is a command that will enable or disable showing the grub menu by default during boot. I don’t remember it and always want my menu to show so lets wait for someone else to pop in with the command.

1 Like

I am unsure if it the most elegant solution but I have half achieved what I was after I think.

Ideally I get it to boot faster than it is currently, but I added this to the Grub file