sodcalculator

10 Tech How-To

Fix Dual Boot Option Not Showing on Windows

Guide 10-51274 · Updated · Step by step

If your dual boot option is not showing on Windows, the most common cause is that the bootloader configuration is missing or corrupted, and the fix usually involves rebuilding the BCD (Boot Configuration Data) or adjusting the boot order in BIOS/UEFI. This guide walks you through the exact steps to restore the boot menu, what to do when the menu appears but the other OS is missing, and how to prevent the problem from recurring.

Why the Boot Menu Disappears

The dual boot menu (officially called the Windows Boot Manager) is controlled by the BCD store, a small file that lists every operating system installed on the machine and how to load it. It is stored on the EFI System Partition (on UEFI systems) or the system partition (on legacy BIOS systems). The menu can vanish for several reasons:

  • Windows Update sometimes resets the bootloader or changes the default timeout to zero.
  • A failed OS update on the Linux side (e.g., GRUB update) can overwrite the Windows entry.
  • Disk cleanup tools that delete the BCD store thinking it is junk.
  • BIOS/UEFI settings that switch boot mode (UEFI vs. Legacy) or disable the boot device.
  • A recent disk repartition that changed the partition IDs.

How the Boot Process Works

When you power on a UEFI machine, the firmware looks for a bootable device and then loads the Windows Boot Manager (bootmgfw.efi) from the EFI partition. The Boot Manager reads the BCD and shows a list of operating systems. If the BCD is missing the Linux entry, or if the Boot Manager itself is not found, the PC will boot straight into Windows (or show an error). On a legacy BIOS machine, the process is similar but uses the boot sector of the system partition.

In a typical Windows + Linux dual boot, the Linux installation usually installs GRUB (Grand Unified Bootloader) and sets it as the primary bootloader. GRUB then chainloads Windows. If GRUB is missing or misconfigured, you may not see any menu. Conversely, if Windows Boot Manager is the primary, it should list both Windows and Linux (via a chainload entry). The fix depends on which bootloader you want to use.

Fix 1: Use Startup Repair (Windows Recovery)

If Windows boots but the menu never appears, the quickest fix is to run Startup Repair from the Windows Recovery Environment (WinRE).

  1. Boot into WinRE: restart the PC and press F11 (or the key shown on screen) during startup. Alternatively, from Windows, go to Settings > System > Recovery > Advanced Startup and click Restart now.
  2. Choose Troubleshoot > Advanced options > Startup Repair.
  3. Wait for the repair to finish. It may take 10–15 minutes.
  4. Restart and check if the dual boot menu appears.

If Startup Repair says it couldn’t fix the problem, proceed to the command-line method below.

Fix 2: Rebuild the BCD Manually

When Startup Repair fails, you can rebuild the BCD from the Command Prompt in WinRE. This is the most reliable method for a missing Windows entry.

  1. Boot into WinRE (as above) and choose Troubleshoot > Advanced options   Command Prompt.
  2. Type the following commands one by one, pressing Enter after each:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

The /scanos command scans all disks for Windows installations. If it finds one, it will ask if you want to add it to the BCD. Type Y and press Enter. /rebuildbcd will then rebuild the store. After that, restart. If the menu still doesn’t show, you may need to add the Linux entry manually (see next section).

Fix 3: Add the Missing OS Entry Manually

If the Windows entry is restored but Linux is missing from the menu, you need to add it. This requires knowing the EFI partition and the path to the Linux bootloader (usually \EFI\ubuntu\grubx64.efi for Ubuntu).

  1. Open an elevated Command Prompt (as Administrator) in Windows.
  2. Type bcdedit /enum to see the current boot entries. Note the identifier of the Windows Boot Manager (usually {bootmgr}).
  3. Create a new entry for Linux with this command (adjust the path to your distribution):
bcdedit /create /d "Linux" /application osloader

This returns a GUID. Copy it. Then run:

bcdedit /set {GUID} device partition=X:
bcdedit /set {GUID} path \EFI\ubuntu\grubx64.efi
bcdedit /set {GUID} description "Linux"

Replace X: with the drive letter of your EFI partition (usually the small FAT32 partition). You can find it by typing diskpart, then list volume, and looking for the volume labeled “EFI”. If you are unsure, it is safer to use the bootrec method with a Linux live USB to reinstall GRUB.

Fix 4: Reinstall GRUB (Linux Side)

If you prefer GRUB as your bootloader, the easiest fix is to reinstall it from a Linux live USB. This is also the solution when Windows boots but the Linux option is gone.

  1. Boot from a Linux live USB (the same distribution you have installed).
  2. Open a terminal and mount your root partition (e.g., sudo mount /dev/sda2 /mnt).
  3. Mount the EFI partition: sudo mount /dev/sda1 /mnt/boot/efi (adjust device names).
  4. Chroot into your system: sudo chroot /mnt.
  5. Reinstall GRUB: grub-install /dev/sda (replace with your disk).
  6. Update GRUB: update-grub.
  7. Exit and reboot.

This will detect Windows and add it to the GRUB menu. If you have a UEFI system, use grub-install --target=x86_64-efi instead.

Check BIOS/UEFI Boot Order

Sometimes the boot menu is fine, but the firmware is set to boot directly into Windows. Enter your BIOS/UEFI (usually by pressing Del, F2, or F10 during startup) and check the boot order. Ensure that “Windows Boot Manager” and “Ubuntu” (or your Linux distribution) are both listed. If the Linux entry is missing, your EFI partition may have been corrupted. Also check if “Secure Boot” is disabled – some Linux distributions require it to be off, and if it is on, the Linux entry may be hidden.

Common Mistakes and Misconceptions

One common mistake is running bootrec /fixmbr on a UEFI system. This command is for legacy BIOS and can actually remove the Linux bootloader. On UEFI, use bootrec /rebuildbcd only. Another misconception is that the boot menu is a Windows feature – it is actually a bootloader feature, and both Windows and Linux have their own. If you see no menu at all, it is often because the bootloader is set to a zero timeout. You can set the timeout in Windows with bcdedit /timeout 10 (in an elevated command prompt) or in GRUB by editing /etc/default/grub.

Frequently Asked Questions

Why did my dual boot menu disappear after a Windows update?

Windows Update can sometimes reset the bootloader or change the boot configuration. It may also disable the Linux entry if it detects a conflict. Running bcdedit /set {bootmgr} displaybootmenu yes and bcdedit /timeout 10 often restores the menu.

Can I fix this without reinstalling either OS?

Yes. The methods above (Startup Repair, bootrec, bcdedit, or reinstalling GRUB) do not require reinstalling Windows or Linux. They only repair the bootloader files.

What is the difference between UEFI and Legacy BIOS boot?

UEFI uses a separate EFI partition and .efi files, while legacy BIOS uses the boot sector of the system partition. The repair commands differ: bootrec is for legacy, and bcdedit works for both but is more common on UEFI. If you have a UEFI system, you must use the EFI partition path.

Why does my PC boot straight into Windows and skip the menu?

This usually means the boot order in BIOS is set to Windows Boot Manager first, and the Windows entry has a timeout of zero. Check the timeout with bcdedit /timeout and set it to 10 or more. Also check BIOS boot order to ensure the Linux entry is not disabled.

Is it safe to run bootrec commands?

Yes, but only if you know what you are doing. bootrec /fixmbr can overwrite the master boot record, which may remove GRUB. On UEFI systems, avoid it. Always back up important data before running any disk repair commands.

What if I still don’t see the menu after all these fixes?

If none of the above work, the EFI partition may be corrupted or the Linux bootloader files may be missing. Boot from a live USB and check if the EFI partition is intact. If not, you may need to recreate the EFI partition or reinstall the bootloader. In extreme cases, a fresh installation of the bootloader is required.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →