How to hide the Grub menu on boot

Hello,

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_TIMEOUT=0
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rd.lvm.lv=fedora_fedora/root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_DISABLE_OS_PROBER=true

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

GRUB_HIDDEN_TIMEOUT=1
GRUB_HIDDEN_TIMEOUT_QUIET=true
#GRUB_TIMEOUT=0