Windows 11 Not Detected by GRUB: Troubleshooting Guide

Abstract: Resolve Windows 11 missing from GRUB by enabling os-prober and regenerating the bootloader configuration.

Created: 2026-09-07 by

Windows 11 often disappears from the GRUB boot menu because Linux distributions do not automatically scan for Windows partitions after installation or due to Secure Boot and Fast Startup conflicts. To resolve this, you must manually update the GRUB configuration using sudo update-grub on Debian-based systems or sudo grub2-mkconfig -o /boot/grub2/grub.cfg on Red Hat-based systems, ensuring the os-prober utility is enabled and functioning correctly.

Verifying OS-Prober Installation and Status

The primary reason GRUB fails to detect Windows 11 is that modern Linux security policies have disabled the os-prober tool by default. This tool is responsible for scanning other partitions for operating systems during the GRUB generation process. If it is missing or disabled, GRUB will only list the installed Linux kernel. First, ensure the utility is installed. On Ubuntu, Debian, and Mint, run:
sudo apt install os-prober
On Fedora, RHEL, or CentOS, it is typically pre-installed but may need enabling. Verify its presence with:
which os-prober
If the command returns a path, the binary exists. Next, check if it is active. Many distributions disable it via a configuration file to prevent potential security vulnerabilities associated with probing external filesystems. Check the GRUB configuration directory for a file named 40-force-official-repo.cfg or similar, but more commonly, look for /etc/default/os-prober. If this file does not exist, create it or edit /etc/default/grub to ensure no flags are blocking it. In newer versions of GRUB (2.06+), the detection logic has changed slightly, requiring explicit permission in the GRUB defaults.

Enabling Detection in GRUB Configuration

Even with os-prober installed, GRUB might ignore Windows partitions if the configuration explicitly tells it not to look. You must modify the main GRUB environment file. Open the configuration file located at /etc/default/grub with your preferred text editor:
sudo nano /etc/default/grub
Look for a line starting with GRUB_DISABLE_OS_PROBER. If this line exists and is set to true, change it to false:
GRUB_DISABLE_OS_PROBER=false
If the line does not exist, add it. This setting is critical for recent releases of Ubuntu, Fedora, and Arch Linux, where developers have tightened security around automatic dual-boot detection. After saving the file, you must regenerate the GRUB configuration for the changes to take effect. Do not rely on manual edits to grub.cfg; always use the generation tools provided by your distribution.

Regenerating the GRUB Menu

The method for updating GRUB depends entirely on your Linux distribution's package manager and bootloader management style. Using the wrong command can result in a broken bootloader or a configuration that does not persist across reboots. For Debian-based distributions like Ubuntu, Linux Mint, and Kali, use:
sudo update-grub
This script internally calls grub-mkconfig with the correct output path for EFI systems. For Red Hat-based systems such as Fedora, RHEL, AlmaLinux, and Rocky Linux, the command is:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
On Arch Linux and Manjaro, simply running:
sudo grub-mkconfig -o /boot/grub/grub.cfg
is sufficient. After running the appropriate command, reboot your system. If Windows 11 appears in the GRUB menu, the issue is resolved. If it remains missing, proceed to the next troubleshooting steps regarding partition visibility and filesystem compatibility.

Checking Partition Visibility and Filesystem Types

GRUB relies on os-prober to identify the Windows Boot Manager partition, which is usually an FAT32 partition marked as "EFI System Partition" (ESP). If os-prober cannot read this partition, detection fails. Use the lsblk command to view your block devices:
lsblk -f
Identify the partition formatted as FAT32 that is mounted at /boot/efi or has the ESP flag. Ensure that the Windows partition itself (usually NTFS) is accessible. If you recently resized partitions or used disk cloning tools, the UUIDs might have changed, causing mismatches. Additionally, verify that the Windows partition is not hidden by Linux filesystem drivers. Some minimal Linux installs lack full NTFS support utilities, though most modern kernels handle this natively. Another common issue arises when Windows 11 is installed in UEFI mode but the Linux system is booted in Legacy BIOS mode, or vice versa. GRUB cannot chain-load an operating system from a different firmware interface. Ensure both operating systems were installed in the same mode. You can check your current boot mode with:
efibootmgr -v
If the output shows only Linux entries and no Windows Boot Manager entry, Windows may not be registered in the NVRAM. You may need to boot into Windows and repair the boot record using the Windows Recovery Environment before returning to Linux.

Handling Secure Boot and Fast Startup Conflicts

Windows 11 enforces Secure Boot by default, which can interfere with unsigned GRUB modules or third-party bootloader modifications. While standard GRUB binaries are usually signed, custom configurations might break verification. If you have enabled Secure Boot in your BIOS/UEFI settings, ensure that your Linux distribution supports it. Most major distros (Ubuntu, Fedora, Manjaro) include signed GRUB binaries. If you compiled GRUB from source without signing keys, Secure Boot will prevent it from loading, potentially hiding other OS options if the fallback mechanism fails. Furthermore, Windows 11 enables "Fast Startup" by default, which hibernates the kernel instead of fully shutting down. This can lock the NTFS filesystem, preventing Linux from reading it safely. When os-prober attempts to scan a locked NTFS partition, it may fail silently or report errors. Disable Fast Startup in Windows by going to Control Panel > Power Options > Choose what the power buttons do > Change settings that are currently unavailable, and uncheck "Turn on fast startup." Shut down Windows completely, then boot into Linux and run the GRUB update commands again.

Manual Entry Fallback

If automatic detection continues to fail despite all previous steps, you can manually add a Windows 11 entry to GRUB. This requires identifying the specific partition containing the Windows Boot Manager. Use lsblk or fdisk -l to find the EFI partition number. Then, edit /etc/grub.d/40_custom to add a custom menu entry. Replace (hdX,gptY) with your actual partition identifiers found via grub-probe:
menuentry "Windows 11" {
    insmod part_gpt
    insmod fat
    insmod chain
    set root='(hd0,gpt1)'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
After adding this, run sudo update-grub (or the equivalent for your distro). This method bypasses os-prober entirely but requires careful maintenance if partition layouts change. Solving Windows 11 Re-install Disk Error after Linux Mint 22 Install provides additional context for storage-related boot failures.

Frequently Asked Questions

Why does my GRUB menu disappear after installing Windows 11?

Installing Windows 11 often overwrites the MBR or EFI boot order, replacing the Linux GRUB loader with the Windows Boot Manager. To restore access, you must boot from a Linux Live USB and reinstall GRUB to the EFI partition, then configure it to chain-load Windows.

Can I use rEFInd instead of GRUB for dual booting?

Yes, rEFInd is a highly effective alternative boot manager that automatically detects all operating systems, including Windows 11 and various Linux kernels, without needing complex configuration files. It scans for EFI executables directly, making it more resilient to partition changes than GRUB.

What should I do if os-prober returns no results?

If os-prober returns nothing, verify that the Windows partition is mounted and readable by Linux. Check dmesg for I/O errors and ensure the partition is not encrypted or locked by Windows Fast Startup. Running os-prober with verbose flags can reveal specific permission or filesystem errors.

Is it safe to manually edit grub.cfg?

No, manually editing grub.cfg is unsafe because most distributions regenerate this file automatically during updates or kernel upgrades, erasing your changes. Always modify the source files in /etc/grub.d/ or /etc/default/grub and let the system rebuild the configuration.

How do I fix a "No Bootable Device" error after dual boot setup?

This error usually indicates that the UEFI firmware cannot find the EFI System Partition. Enter your BIOS/UEFI settings and check the boot priority list. Ensure the Linux distribution's EFI entry is first, or manually add the \EFI\Microsoft\Boot\bootmgfw.efi path if Windows is the desired target. Linux Breaks Windows 11 Boot: Dual Booting Debian 12 and Fixing EFI Menu Issues details specific EFI menu corruption scenarios.

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