Technical Anshu
Tutorials Blog

On a dual-boot PC, GRUB is the menu that lets you choose between Ubuntu and Windows. Ubuntu hides that menu by default when it thinks only one system exists, and a GRUB_TIMEOUT of 0 or GRUB_TIMEOUT_STYLE=hidden makes it flash past even when it exists. Windows Fast Startup and a wrong UEFI boot order can produce the same symptom. Work in order: try the one-key reveal first, then fix the GRUB settings properly.

Power on · Dual boot PC
PC boots straight to Windows (or straight to Ubuntu) - the GRUB choice menu never appears.

X Both systems are installed - each one boots if selected in the UEFI boot menu

X No menu, no countdown, not even a brief flash at startup

X The problem started after an update, a BIOS reset, or changing Fast Startup

X Holding Shift or tapping Esc at power-on sometimes reveals a menu

MENU HIDDEN  GRUB is installed but GRUB_TIMEOUT_STYLE=hidden or timeout 0 gives you no time to choose.

The fingerprint of this problem: both systems work, only the choice screen is missing.

Before you start: Fix 3 edits /etc/default/grub. Back it up first with the command shown there - a typo in this file can stop the menu updating. Never edit /boot/grub/grub.cfg by hand; it is generated and your edits will be overwritten.
1

Try the One-Key Reveal First

If the menu is only hidden, a key at the right moment shows it - no changes needed to test this.

  1. Restart and, as soon as the maker logo appears, hold Shift on a legacy BIOS system, or tap Esc repeatedly on a UEFI system.
  2. If the GRUB menu appears, the bootloader is healthy - the fix is only the timeout setting in Fix 3.
  3. If nothing appears at all, note which system booted and continue - you will edit the settings from inside Ubuntu.
2

Boot Ubuntu Once From the UEFI Boot Menu

You need to get into Ubuntu once to change its boot settings. The firmware boot menu bypasses GRUB entirely.

  1. Restart and press your firmware boot-menu key at the logo - commonly F12, F8, F11 or Esc depending on the maker.
  2. Choose the ubuntu entry. Ubuntu should boot normally.
  3. If there is no ubuntu entry at all, GRUB may not be installed in UEFI mode - that is a repair-install case, different from this hidden-menu problem.
3

Set the Menu to Always Show in /etc/default/grub ⭐

This is the permanent fix: stop hiding the menu and give yourself a real countdown. ⭐

  1. Back up first: sudo cp /etc/default/grub /etc/default/grub.bak
  2. Open the file: sudo nano /etc/default/grub and set these lines exactly: GRUB_TIMEOUT_STYLE=menu and GRUB_TIMEOUT=10
  3. Save with Ctrl + O, exit with Ctrl + X.
  4. Apply it: sudo update-grub - you should see it finding your Linux images. Reboot and the menu should now wait 10 seconds.
4

Turn Off Windows Fast Startup

Fast Startup leaves Windows in a hibernation-like state and can make firmware hand control straight back to Windows, skipping the menu.

  1. Boot Windows, open Control Panel > Power Options > Choose what the power buttons do.
  2. Click Change settings that are currently unavailable, untick Turn on fast startup, and save.
  3. Shut Windows down fully (not restart), power on, and check whether the GRUB menu now appears on a cold boot.
5

Check the UEFI Boot Order

If ubuntu is below Windows Boot Manager in the firmware order, some firmware goes straight to Windows on a normal power-on.

  1. Enter UEFI setup (usually F2 or Del at power-on) and open the Boot order list.
  2. Put ubuntu first and Windows Boot Manager second. Save and exit.
  3. From Ubuntu you can check the same order without rebooting: sudo efibootmgr lists the entries and the current order.
Do not do this: do not edit /boot/grub/grub.cfg directly - sudo update-grub regenerates it and erases hand edits. Do not reinstall GRUB for a merely hidden menu; the one-key test in Fix 1 proves whether GRUB itself works. And do not set the timeout back to 0 to boot faster until you are sure you will never need the recovery options in that menu.

More PC Fixes on Technical Anshu

Every week: Windows problems, hidden tools and full setup guides, explained step by step.

Subscribe on YouTube

Related Video

Related video: How to Dual Boot Ubuntu with Windows: Easy Step-by-Step Guide - It shows a complete dual-boot installation, which is useful background for how GRUB is set up. This is NOT the fix for this exact problem; use the steps above for this issue.

Frequently Asked Questions

Why does my dual boot PC boot straight to Windows with no GRUB menu?

Usually GRUB is set to hidden with a timeout of 0, or Windows Boot Manager is first in the UEFI boot order, or Windows Fast Startup is handing control straight back to Windows. Hold Shift or tap Esc at power-on to test, then set GRUB_TIMEOUT_STYLE=menu and GRUB_TIMEOUT=10 in /etc/default/grub and run sudo update-grub.

How do I show the GRUB menu on Ubuntu dual boot?

Boot Ubuntu once from the firmware boot menu, back up /etc/default/grub, set GRUB_TIMEOUT_STYLE=menu and GRUB_TIMEOUT=10, save, and run sudo update-grub. On reboot the menu appears and waits 10 seconds so you can choose Ubuntu or Windows.

What key shows the hidden GRUB menu?

On legacy BIOS systems hold the Shift key as the machine starts. On UEFI systems tap Esc repeatedly right after the maker logo. If the menu appears with the key, GRUB is installed correctly and only its timeout style needs changing.

Is it safe to edit /etc/default/grub?

Yes, if you back it up first with sudo cp /etc/default/grub /etc/default/grub.bak and only change the timeout lines. Never edit /boot/grub/grub.cfg by hand - it is a generated file. Always run sudo update-grub after editing the defaults file, otherwise the change has no effect.

The GRUB menu shows but Windows is missing from it. Is that the same problem?

No. A menu that appears but has no Windows entry is a different fault - usually os-prober is disabled. That needs GRUB_DISABLE_OS_PROBER=false and a fresh sudo update-grub while Windows is fully shut down, which is covered in the separate Windows missing from GRUB guide on this site.

Guide by Technical Anshu · Problem collected from Ask Ubuntu user reports of a hidden GRUB menu on dual-boot systems; solution written in original words and verified against the GNU GRUB manual and Ubuntu documentation on /etc/default/grub, GRUB_TIMEOUT_STYLE and update-grub, verified on 11 November 2026. Related long video on the channel is linked at the end - it is not the exact fix for this problem. No Shorts are linked in this blog.