Linux GRUB Overwritten by Windows 11: Proven Fix (2026)

Windows 11 overwrites linux grub is a common frustration for dual-boot users. After a Windows update or installation, the Linux GRUB bootloader disappears, and your system boots directly into Windows.

When windows 11 overwrites linux grub occurs, you lose access to your Linux installation. This proven fix guide provides effective methods to restore GRUB and regain dual-boot functionality without reinstalling any operating system.

Quick Fix: Boot from a Linux live USB. Open a terminal and run sudo fdisk -l to identify your Linux partition. Then mount it and reinstall GRUB with sudo grub-install /dev/sdX and sudo update-grub. This restores the bootloader and detects both operating systems.

1. Root Cause

When windows 11 overwrites linux grub, it happens because Windows replaces the bootloader with its own. Windows assumes it is the only operating system and overwrites the EFI boot entry or the Master Boot Record (MBR).

On UEFI systems, Windows creates its own boot entry in the EFI partition. It may set itself as the default boot option, bypassing GRUB. On legacy BIOS systems, Windows overwrites the MBR, removing GRUB entirely.

This behavior is common after major Windows updates, feature upgrades, or when Windows is installed second on a dual-boot system. Microsoft does not detect other operating systems during installation, leading to this issue.

According to the Arch Linux Wiki, Windows updates frequently reset the boot order. The Ubuntu Community Help also documents this as a recurring issue. Understanding the cause helps you restore GRUB quickly.

2. Boot from Live USB

The first step to fix windows 11 overwrites linux grub is to boot from a Linux live USB. This gives you access to a working environment where you can repair the bootloader.

Create live USB → Boot from USB → Select "Try Ubuntu" or "Live session"

Use a USB drive with Ubuntu, Fedora, or any Linux distribution. Boot into the live environment. Do not install the system. The live session provides all the tools needed to repair GRUB. Ensure you have an internet connection to download packages if needed.

Outcome: Booting from a live USB allows safe repair of the windows 11 overwrites linux grub issue.

3. Identify Linux Partitions

Before reinstalling GRUB, you need to identify the correct partitions. This is essential for fixing windows 11 overwrites linux grub.

sudo fdisk -l
sudo lsblk
sudo blkid

Look for the Linux root partition (usually ext4, btrfs, or xfs). Note the device name, e.g., /dev/nvme0n1p5 or /dev/sda5. Also identify the EFI partition if your system uses UEFI. The EFI partition is typically FAT32 and has a label like “EFI” or “ESP”.

Outcome: Identifying partitions correctly ensures successful GRUB restoration for the windows 11 overwrites linux grub issue.

4. Mount the Root Partition

After identifying the partitions, mount the root partition to access your Linux installation. This is necessary to fix windows 11 overwrites linux grub.

sudo mount /dev/sdX /mnt
sudo mount /dev/sdY /mnt/boot/efi   # For UEFI systems

Replace /dev/sdX with your root partition and /dev/sdY with your EFI partition. For systems without a separate EFI partition, mount the boot directory if needed. Use mount to bind necessary directories: sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys.

Outcome: Mounting the partitions prepares the system for GRUB reinstallation.

5. Reinstall GRUB via chroot

The most reliable way to restore GRUB when windows 11 overwrites linux grub is to use the chroot environment. This allows you to run commands inside your installed system.

sudo chroot /mnt
grub-install /dev/sdX
update-grub
exit

Replace /dev/sdX with the disk device (not partition), e.g., /dev/nvme0n1 or /dev/sda. For UEFI systems, use grub-install --target=x86_64-efi --efi-directory=/boot/efi. After running these commands, reboot and check if GRUB appears.

Outcome: Reinstalling GRUB via chroot resolves the windows 11 overwrites linux grub issue.

6. Update GRUB Configuration

After reinstalling GRUB, update its configuration to detect Windows 11. This ensures both operating systems appear in the boot menu when windows 11 overwrites linux grub has been fixed.

sudo update-grub
sudo os-prober

update-grub scans for other operating systems. os-prober helps detect Windows. If Windows is not detected, ensure the Windows partition is mounted or check the /etc/default/grub file for GRUB_DISABLE_OS_PROBER=false.

Outcome: Updating GRUB configuration ensures both Linux and Windows are listed in the boot menu.

7. Repair GRUB with Boot-Repair Tool

For users who prefer a graphical tool, Boot-Repair can fix windows 11 overwrites linux grub automatically. This tool simplifies the process.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install boot-repair
boot-repair

Run Boot-Repair and select “Recommended repair”. It will automatically detect partitions, reinstall GRUB, and update the configuration. This tool is reliable and handles most cases of windows 11 overwrites linux grub.

Outcome: Using Boot-Repair resolves the windows 11 overwrites linux grub issue for users who prefer a GUI.

8. Change Boot Order in UEFI Settings

Sometimes GRUB is installed correctly, but the boot order is set to Windows first. Changing the boot order fixes windows 11 overwrites linux grub without reinstalling.

Enter UEFI/BIOS → Boot menu → Change boot order → Set Linux or GRUB first

Access the UEFI settings during startup (usually F2, Del, or Esc). Navigate to the Boot section and move the Linux boot entry above Windows. Save and exit. This ensures GRUB loads first.

Outcome: Adjusting boot order resolves the windows 11 overwrites linux grub issue when GRUB is installed but not prioritized.

9. Disable Fast Startup and Secure Boot

Windows features like Fast Startup and Secure Boot can interfere with GRUB. Disabling them prevents windows 11 overwrites linux grub issues.

Windows → Control Panel → Power Options → Choose what power buttons do → Disable fast startup
UEFI → Secure Boot → Disabled

Fast Startup prevents proper shutdown, which can affect GRUB detection. Secure Boot may block GRUB from loading if it is not signed. Disable both features to ensure a smooth boot process.

Outcome: Disabling Fast Startup and Secure Boot prevents future windows 11 overwrites linux grub issues.

10. Advanced: Manually Regenerate GRUB

If standard methods fail, manually regenerating GRUB can fix windows 11 overwrites linux grub. This is for advanced users.

sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

This command explicitly sets the bootloader ID to “GRUB”. It ensures the EFI entry is created correctly. After running, update the UEFI boot order if needed.

Outcome: Manually regenerating GRUB resolves persistent windows 11 overwrites linux grub issues.

11. Frequently Asked Questions

Why does Windows 11 overwrite GRUB?

Windows 11 overwrites GRUB because it assumes it is the only operating system. It replaces the bootloader or sets itself as the default boot entry.

Can I restore GRUB without a live USB?

If you have a working Linux installation, you can use a rescue mode or recovery shell. However, a live USB is the most reliable method.

How do I know if my system uses UEFI or BIOS?

Check the /sys/firmware/efi directory. If it exists, your system uses UEFI. Otherwise, it uses legacy BIOS.

What is the difference between grub-install /dev/sdX and /dev/sdX1?

grub-install /dev/sdX installs GRUB to the MBR (legacy BIOS). grub-install /dev/sdX1 installs to a partition, which is not typical. For UEFI, use the EFI directory.

Does Boot-Repair work on all distributions?

Boot-Repair is primarily for Ubuntu and Debian-based systems. For Fedora or Arch, use distribution-specific recovery tools.

How do I prevent Windows from overwriting GRUB in the future?

Disable Fast Startup, Secure Boot, and Windows automatic updates. Consider installing a custom boot manager like rEFInd.

Can I use a USB with Windows to fix GRUB?

No, Windows cannot repair GRUB. You need a Linux live USB to reinstall the bootloader.

Why does Windows update break GRUB?

Windows updates often modify the EFI partition or boot entries, which can remove or overwrite GRUB.

Is it possible to restore GRUB from the Windows command line?

No, the Windows command line does not have the tools to reinstall GRUB. Use a Linux live USB.

What should I do if GRUB still does not appear after repair?

Check the UEFI boot order and ensure the GRUB entry is present. If missing, use efibootmgr to add it manually.

12. Conclusion

The windows 11 overwrites linux grub issue is frustrating but easily fixable. By booting from a live USB and reinstalling GRUB, you can restore dual-boot functionality in minutes. Prevent future issues by disabling Fast Startup and Secure Boot. With this proven fix guide, you can overcome the windows 11 overwrites linux grub problem and enjoy seamless dual-boot access.

For more Linux troubleshooting, explore our Linux Hub and guides on Ubuntu broken packages fix, Linux read-only file system, and Ubuntu no Wi-Fi adapter found. With the right approach, you can resolve the windows 11 overwrites linux grub error quickly and get back to work.

Editorial Team
This article was researched and written by the HowToFixPro technical editorial team. Our team consists of Linux boot experts and system administrators with years of experience in dual-boot configuration and GRUB recovery across multiple distributions.

2 thoughts on “Linux GRUB Overwritten by Windows 11: Proven Fix (2026)”

  1. Pingback: GRUB Error 17 Stage 1.5: Proven Fix Without Reinstall (2026)

  2. Pingback: Linux GRUB Not Showing Windows? Proven Solutions (2026)

Comments are closed.

Scroll to Top