Deleting Windows 10 Boot Manager: A Guide for Linux Users

Abstract: Removes Windows 10 boot capability by deleting EFI bootloader files while preserving the OS installation.

Created: 2026-09-23 by
Removing the Windows 10 Boot Manager from a Linux environment requires careful manipulation of the EFI System Partition. This process involves mounting the partition, identifying the correct directory structure, and deleting specific bootloader files while preserving essential system data. Always verify your target drive to avoid accidental data loss on active operating systems.

Understanding the EFI System Partition

The Unified Extensible Firmware Interface (UEFI) stores bootloaders in a special FAT32 formatted partition known as the EFI System Partition (ESP). Unlike older BIOS systems that relied on Master Boot Records, UEFI reads executable files directly from this partition. In a dual-boot setup with Windows 10 and Linux, both operating systems typically share this single partition. The Windows bootloader files are usually located within a subdirectory named \EFI\Microsoft\Boot or \EFI\Microsoft\Windows. Deleting these files removes the ability for the computer to start Windows, but it does not delete the Windows installation itself. It is crucial to understand that you are removing the entry point, not the operating system files stored on the main NTFS partition.

Identifying the Correct Partition

Before making any changes, you must identify which block device corresponds to your EFI partition. Booting into a live Linux USB or an installed Linux distribution allows access to terminal commands. Use the lsblk command to list all block devices and their sizes. Look for a partition that is approximately 100MB to 500MB in size and has a filesystem type of vfat or efi. Alternatively, use sudo fdisk -l to see detailed partition tables. Identify the device name, such as /dev/sda1 or /dev/nvme0n1p1. Double-check this identifier because selecting the wrong disk will result in catastrophic data loss. Do not proceed until you are certain of the partition number associated with the EFI system.

Mounting and Navigating the Partition

Once identified, mount the EFI partition to a temporary directory. Create a mount point using sudo mkdir /mnt/efi, then mount the partition with sudo mount /dev/sdXN /mnt/efi, replacing sdXN with your actual device identifier. After mounting, navigate to the directory using cd /mnt/efi/EFI. You will see folders for different operating systems, such as ubuntu, debian, or Microsoft. To remove the Windows Boot Manager, you need to target the Microsoft folder. Specifically, look for the Boot subfolder inside Microsoft. This folder contains bcd, BCD, and other configuration files that tell the firmware how to load Windows.

Safely Removing Windows Bootloader Files

Delete the contents of the \EFI\Microsoft\Boot directory. Use the rm command with caution. Execute sudo rm -rf /mnt/efi/EFI/Microsoft/Boot/*. This command removes all files within that specific folder but leaves the folder structure intact. Do not delete the entire Microsoft directory unless you intend to completely wipe Windows-related EFI data. Some users also delete the \EFI\Microsoft\Windows folder if present, but this is less common in standard UEFI setups. After deletion, unmount the partition using sudo umount /mnt/efi. Reboot the machine to verify that the Windows option no longer appears in the GRUB menu or UEFI boot order.

Updating the Boot Loader Configuration

Even after deleting the files, your Linux bootloader may still try to load Windows. Update your GRUB configuration to reflect the change. Run sudo update-grub on Debian-based systems or sudo grub-mkconfig -o /boot/grub/grub.cfg on others. This regenerates the boot menu and removes references to the missing Windows bootloader. If you use systemd-boot or rEFInd, you may need to manually edit their configuration files to remove the Windows entry. This step ensures a clean boot experience without error messages pointing to non-existent executables.

Verifying System Integrity

After rebooting, check that Linux boots correctly. Verify that the EFI partition is still mounted and functional for future kernel updates. If you plan to reinstall Windows later, you can restore the bootloader using a Windows installation media and the bcdboot command. However, be aware that modifying the EFI partition carries risks. Always back up important data before manipulating boot sectors. Consider checking SSD health if you experience boot instability, as corrupted firmware tables can mimic bootloader issues. For more details on hardware diagnostics, refer to our guide on Resolving Random Blue Screens and Missing Boot Manager with SSD Health Check. Additionally, if you encounter issues with dual-boot configurations, review resources on Losing Windows Boot Data: A Dual-Boot Dilemma to understand common pitfalls.

Frequently Asked Questions

Will deleting the EFI partition remove my Windows files?

No, deleting the EFI partition only removes the bootloader files needed to start the operating system. Your Windows installation remains intact on the NTFS partition. You can reinstall the bootloader later using a Windows recovery drive if needed.

How do I know if I have a UEFI or BIOS system?

Check your motherboard settings or use the msinfo32 tool in Windows to see the BIOS mode. Linux users can run ls /sys/firmware/efi; if the directory exists, you are using UEFI. BIOS systems do not use an EFI System Partition.

Can I recover the Windows bootloader after deletion?

Yes, you can restore it by booting from a Windows installation USB and using the bcdboot command. This recreates the necessary files in the EFI partition. Ensure you specify the correct drive letters during the restoration process.

What happens if I delete the wrong partition?

Deleting the wrong partition can render your system unbootable or erase critical data. Always verify the partition size and label before executing removal commands. Use lsblk to cross-reference device names with partition sizes to avoid mistakes.

Does this affect my Linux bootloader?

No, removing Windows bootloader files does not impact Linux. Your Linux bootloader resides in its own folder within the EFI partition. However, you should update your GRUB configuration to remove stale entries pointing to Windows.

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