How to Fix Grub Issues in Windows 10

Abstract: Resolve GRUB bootloader conflicts that prevent Windows 10 from starting by restoring the Master Boot Record using Windows installation media.

Created: 2026-09-02 by

Grub issues in Windows 10 typically arise when the GRand Unified Bootloader overwrites the Windows Boot Manager, preventing your PC from starting the operating system directly. To resolve this, you must repair the Master Boot Record or restore the default boot configuration using a Windows installation media and command-line tools.

Understanding the Boot Conflict

When you install Linux alongside Windows, the installer often places GRUB as the primary bootloader on the hard drive. This replaces the Windows Boot Manager, causing your computer to present a GRUB menu instead of the familiar Windows startup screen. In many cases, users do not have a Linux partition configured correctly, leading to a "grub rescue" error or a black screen with no options. This is not a hardware failure but a configuration issue within the disk's partition table and boot sector. The core problem lies in how the BIOS or UEFI firmware selects which boot loader to execute. If the EFI System Partition (ESP) contains a GRUB entry that takes precedence over the Microsoft one, the system will load GRUB first. If GRUB cannot find its configuration files because they are missing or corrupted, it fails to hand off control to any operating system. Restoring the correct boot path requires accessing the Windows recovery environment to rewrite these critical sectors. For more information on resolving broader hardware detection issues that might complicate boot repairs, see our guide on External Hard Drive Not Detected on Windows PC.

Preparing Your Repair Media

Before attempting any fixes, you need a bootable Windows 10 installation USB drive. This tool provides access to the Command Prompt required for manual boot sector repairs. If you do not have one, use another working computer to download the Windows 10 Media Creation Tool from Microsoft’s official website. Run the tool and select "Create installation media for another PC." Choose the same architecture (64-bit or 32-bit) as your affected machine. Insert a USB flash drive with at least 8GB of free space into the working computer. The tool will format the drive, so ensure all important data is backed up. Once the process completes, you will have a reliable diagnostic and repair environment. Connect this USB drive to the problematic Windows 10 machine. You may also need to adjust your BIOS settings to allow booting from USB devices if it does not happen automatically.

Accessing the Recovery Environment

Start your computer and insert the Windows installation USB. Restart the machine and enter the BIOS/UEFI setup by pressing the appropriate key during startup, commonly F2, Del, F12, or Esc depending on your motherboard manufacturer. Navigate to the Boot tab and set the USB drive as the first boot device. Save changes and exit. Your computer should now boot from the USB. You will see the Windows Setup screen asking for language and time preferences. Click Next, then select "Repair your computer" in the bottom-left corner instead of "Install Now." This opens the Advanced Options menu. From here, choose Troubleshoot, then Advanced options, and finally Command Prompt. This gives you elevated administrative privileges to modify boot records safely. If you encounter difficulties with peripheral devices during this process, such as a keyboard that refuses to respond or shut down properly, refer to our article on Troubleshooting: Keyboard preventing PC from turning off to ensure your input devices function correctly in the recovery mode.

Rebuilding the Boot Configuration

In the Command Prompt, type diskpart and press Enter. This launches the disk partitioning tool. Type list disk to identify your primary drive. Usually, Disk 0 is your main hard drive. Type select disk 0 to target it. Then, type list volume to see all partitions. Look for a small partition (usually 100MB to 500MB) formatted as FAT32, which is your EFI System Partition. Note its volume number. Type select volume X replacing X with the EFI partition number. Then type assign letter=Z to give it a temporary drive letter. Exit diskpart by typing exit. Now, rebuild the boot files. Type bcdboot C:\Windows /s Z: /f ALL. This command copies the necessary boot files from the Windows folder to the EFI partition and sets them as active. Replace C: with the actual drive letter where Windows is installed if it differs; you can check this by typing dir C: to verify contents. After running the command, you should see a message stating "Boot files created successfully." Close the Command Prompt and remove the USB drive. Restart your computer. It should now bypass GRUB and load Windows 10 normally.

Removing GRUB Completely

Once Windows is booting, you may want to remove GRUB entirely if you no longer dual-boot. Open File Explorer and navigate to the EFI partition (now mounted as Z:). Delete the ubuntu or linux folders inside the \EFI directory. Also, open an elevated Command Prompt in Windows and run bcdedit /delete {current} if you wish to clear old entries, though usually just deleting the folder is sufficient. Ensure you do not delete the Microsoft folder. If your wireless network behaves erratically after these changes, check our troubleshooting tips for Troubleshooting Wireless Networking Issues in Windows 10 to rule out driver conflicts introduced during the repair process.

Frequently Asked Questions

What if I get a "GRUB Rescue" prompt?

This indicates GRUB cannot find its configuration files. Use the Windows USB repair method described above to overwrite the boot sector with Windows Boot Manager, effectively ignoring the broken GRUB installation.

Can I fix this without a USB drive?

No, you cannot reliably fix MBR/EFI issues from within a non-booting Windows environment. You must use external media to access the recovery command line tools.

Will repairing GRUB erase my data?

No, rebuilding the boot configuration only affects the boot sector and EFI partition. Your personal files and Windows installation remain intact.

How do I stop Windows Update from breaking my boot?

Ensure you disable automatic updates temporarily during major OS changes. Also, always keep your Windows Boot Manager updated by running bcdboot regularly if you dual-boot.

Is it safe to delete the Ubuntu partition?

Yes, if you no longer use Linux. Use Disk Management in Windows to delete the Linux partitions and extend your Windows volume to reclaim the space.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More