How to Fix GRUB and Boot Issues on a Dual Boot System

Published 2026-10-16 · LuxuriousComputers Repair

You installed Linux alongside Windows on the same computer and now something is wrong with booting. Maybe GRUB (the Linux boot loader) does not appear and the computer boots straight into Windows. Maybe GRUB appears but Windows is missing from the menu. Maybe GRUB shows an error and drops to a command prompt. Or maybe a Windows update wiped GRUB entirely and you cannot get into Linux anymore. Dual boot systems have two operating systems sharing one boot process, and that process breaks more easily than a single-OS setup.

Understanding the boot process

On a dual boot system, the boot sequence works like this:

  1. The computer's firmware (UEFI or legacy BIOS) runs first and looks for a boot loader
  2. On most dual boot setups, GRUB is the boot loader. GRUB presents a menu listing both Linux and Windows
  3. You select an operating system from the GRUB menu, and GRUB hands off control to that OS

When this breaks, it is usually because GRUB was overwritten, the boot order in UEFI was changed, or the partition layout was modified by one of the operating systems.

GRUB disappeared — boots straight to Windows

This is the most common dual boot problem. You had a working dual boot, and after a Windows update or a BIOS/UEFI update, the computer goes directly to Windows without showing the GRUB menu.

What happened

Windows updates sometimes overwrite the UEFI boot order, putting the Windows Boot Manager first and removing or deprioritizing the GRUB entry. GRUB itself is still installed on your Linux partition — it just is not being called by the firmware anymore.

Fix from UEFI settings

  1. Restart the computer and enter UEFI settings (usually by pressing F2, Del, or F12 during boot — the key varies by manufacturer)
  2. Find the Boot Order or Boot Priority section
  3. Look for an entry called ubuntu, grub, or your Linux distribution name alongside Windows Boot Manager
  4. Move the Linux/GRUB entry above Windows Boot Manager in the priority list
  5. Save and exit. The computer should now boot to GRUB first, showing both Linux and Windows

Fix from Windows using bcdedit

If the GRUB entry does not appear in UEFI boot settings, you can add it from Windows. Open Command Prompt as Administrator and run:

Reinstall GRUB from a Linux live USB

If GRUB was completely removed (not just deprioritized), you need to reinstall it. Boot from a Linux live USB (the same distribution you have installed) and reinstall GRUB to the EFI System Partition:

  1. Boot from the live USB
  2. Open a terminal
  3. Identify your Linux root partition: run lsblk to list all partitions and find the one with your Linux installation (usually the largest ext4 partition)
  4. Mount it: sudo mount /dev/sdXN /mnt (replace sdXN with your actual partition)
  5. If you have a separate EFI partition, mount it too: sudo mount /dev/sdX1 /mnt/boot/efi (the EFI partition is usually the first small FAT32 partition, around 100 to 500 MB)
  6. Mount the necessary virtual filesystems: sudo mount --bind /dev /mnt/dev and sudo mount --bind /proc /mnt/proc and sudo mount --bind /sys /mnt/sys
  7. Chroot into your installation: sudo chroot /mnt
  8. Reinstall GRUB: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
  9. Update the GRUB configuration: update-grub
  10. Exit the chroot: exit
  11. Reboot and remove the USB

Windows missing from GRUB menu

GRUB appears but only shows Linux — Windows is not listed. This usually means GRUB's configuration does not include an entry for the Windows boot loader.

Regenerate the GRUB configuration

Boot into Linux and open a terminal:

After regenerating, reboot and the GRUB menu should now include a Windows entry.

Manual GRUB entry for Windows

If os-prober still does not detect Windows, you can add a manual entry. Edit /etc/grub.d/40_custom and add:

Then run update-grub again. The manual entry will appear in the GRUB menu.

GRUB drops to a command line

Instead of showing a menu, GRUB shows a command prompt that says grub> or grub rescue>. This means GRUB is running but cannot find its configuration file or the kernel it needs to boot.

grub> prompt (normal command line)

GRUB loaded but could not find grub.cfg. You can boot manually:

  1. Find your Linux partition: type ls to list partitions, then ls (hd0,gpt2)/ (try different numbers) until you find one with a Linux filesystem
  2. Set the root: set root=(hd0,gptN)
  3. Load the kernel: linux /boot/vmlinuz root=/dev/sdXN
  4. Load the initramfs: initrd /boot/initrd.img
  5. Boot: boot

Once you are in Linux, run sudo update-grub and sudo grub-install to fix the configuration permanently.

grub rescue> prompt

This is a more limited environment that appears when GRUB cannot find its core modules. The fix is to boot from a live USB and reinstall GRUB entirely (see the reinstall steps above).

Preventing future boot problems

Dual boot help in Marion

If your dual boot system is broken and you cannot get into one or both of your operating systems, LuxuriousComputers in Marion can repair the boot loader, restore GRUB, fix partition configurations, and get both Windows and Linux booting correctly again without losing data on either installation.

Expert Repair

LuxuriousComputers Repair is here to help.

Learn More