Unable to Boot Windows with 'Boot Disk Unavailable' Error After Installing Ubuntu on a Dual Drive System (500GB NVMe, Windows Drive Partitioned)

Abstract: Fix Boot Disk Unavailable error by reordering UEFI boot priority to prioritize Windows Boot Manager over GRUB.

Created: 2026-08-11 by
The 'Boot Disk Unavailable' error after installing Ubuntu on a dual-drive system typically occurs because the GRUB bootloader overwrote or redirected the EFI System Partition (ESP) entries, making Windows invisible to the firmware. To resolve this, you must access the UEFI BIOS/UEFI settings and manually reorder the boot priority to place the Windows Boot Manager above the Linux entry, or use the efibootmgr utility in Ubuntu to restore the correct NVRAM variables.

Understanding the Dual Drive Boot Architecture

In modern systems with NVMe drives, the boot process relies on the Unified Extensible Firmware Interface (UEFI) rather than the legacy Master Boot Record (MBR). When you install Ubuntu alongside Windows on separate physical drives, both operating systems write their bootloaders to the same EFI System Partition (ESP), which is usually located on the Windows drive. The ESP contains a directory structure like /EFI/Microsoft/Boot and /EFI/ubuntu. The core issue arises when the GRUB installer for Ubuntu modifies the NVRAM (Non-Volatile RAM) variables stored in your motherboard's BIOS. It often sets the ubuntu entry as the first boot option. If the Windows Boot Manager entry becomes corrupted, missing, or deprioritized below the Linux entry, the system fails to locate the Windows bootloader files during startup, resulting in the "Boot Disk Unavailable" message. This is distinct from hardware failure; your physical Windows drive is likely intact, but the firmware no longer knows how to find it.

Why Standard Fixes Fail

Many online guides suggest using commands like bootrec /fixmbr. This is incorrect for UEFI/NVMe systems. That command targets legacy BIOS partition tables and can actually damage an EFI setup by writing incompatible data to the disk. Since your system uses GPT (GUID Partition Table) and UEFI, the fix must address the boot order in NVRAM, not the disk sector map.

Method 1: Reordering Boot Priority in UEFI BIOS

The most straightforward solution involves changing the boot order directly through your computer's firmware interface. This method does not require accessing the operating systems at all.
  1. Enter the UEFI Settings: Restart your computer and immediately press the key to enter Setup. Common keys include F2, F12, Del, or Esc, depending on your manufacturer (e.g., Dell, HP, Lenovo). For Dell Vostro systems, F2 is standard.
  2. Navigate to Boot Configuration: Look for a tab labeled "Boot Sequence," "Boot Order," or "Startup." You will see a list of available boot devices.
  3. Identify Windows Boot Manager: Locate the entry named "Windows Boot Manager." In a dual-drive setup, it might be listed with the specific drive name (e.g., "Samsung 970 EVO Windows Boot Manager").
  4. Move to Top Priority: Use the arrow keys or function keys (often F5/F6) to move "Windows Boot Manager" to the very top of the list. Ensure it is above any "Ubuntu" or "GRUB" entries.
  5. Save and Exit: Save changes (usually F10) and reboot. The system should now load Windows directly.
If you wish to keep Ubuntu as the default but still be able to boot Windows easily, you can leave Ubuntu first but add a "One-time Boot Menu" shortcut (often F12 at startup) to select Windows when needed.

Method 2: Restoring Boot Entries via efibootmgr

If the BIOS method does not work, or if the Windows entry has disappeared entirely from the NVRAM list, you must repair the boot configuration from within Ubuntu. This requires a live USB or access to your installed Ubuntu system.
  1. Boot into Ubuntu: If you cannot boot into either OS, use an Ubuntu Live USB and select "Try Ubuntu."
  2. Open Terminal: Press Ctrl+Alt+T.
  3. List Current Boot Entries: Run the following command to see what the firmware sees:
    sudo efibootmgr
    Look for a line starting with BootCurrent and others like Boot0001* ubuntu. Check if a Windows entry exists (often labeled Bootxxxx* Windows Boot Manager).
  4. Verify the ESP Mount Point: Ensure the EFI partition is mounted. It is usually mounted at /boot/efi. Verify that the file /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi exists. If it is missing, the Windows bootloader files are deleted, requiring a repair from Windows installation media.
  5. Create or Fix the Entry: If the Windows entry is missing or broken, you can recreate it. First, identify the partition number of the ESP (usually sda1 or nvme0n1p1). Then run:
    sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Windows Boot Manager" --loader \\EFI\\Microsoft\\Boot\\bootmgfw.efi
    (Note: Replace /dev/nvme0n1 and 1 with your actual disk and partition identifiers found via lsblk).
  6. Set Boot Order: Once the entry exists, set it as the first boot option:
    sudo efibootmgr --bootorder [WindowsID],[UbuntuID],...
    Replace IDs with those shown in efibootmgr.

Preventing Future Conflicts

To avoid this issue in future updates or reinstalls, consider separating the EFI partitions physically. Some advanced users create a dedicated small FAT32 partition for each OS on different drives, though this requires manual partitioning during installation. Alternatively, always ensure you disable "Fast Startup" in Windows Control Panel, as this hibernation feature can lock the NTFS partition and prevent Ubuntu from safely modifying the ESP. For more insights on managing dual-boot environments, see our guide on Dual Booting Windows and Ubuntu 22.04 LTS on DelVostro 5581 with Separated Drives Not Working. Additionally, if you encounter display issues after switching between OSes, check out Windows Won't Dual Boot with Ubuntu 24.04 LTS for common driver conflicts.

Frequently Asked Questions

Is my Windows drive damaged?

No, the "Boot Disk Unavailable" error is almost always a firmware configuration issue, not hardware failure. Your Windows files remain safe on the NVMe drive. The problem is simply that the motherboard's BIOS has lost track of where the Windows bootloader is located or has prioritized the wrong entry.

Can I use Windows Installation Media to fix this?

Yes, booting from a Windows USB and selecting "Repair your computer" > "Troubleshoot" > "Command Prompt" allows you to rebuild the BCD store. However, on UEFI systems, running bcdboot C:\Windows /s S: /f UEFI (where S: is the ESP) is safer than legacy tools. This method is useful if the bootmgfw.efi file is missing from the EFI partition.

Why did installing Ubuntu overwrite my Windows boot?

Ubuntu's GRUB installer assumes it is taking control of the primary boot path. By default, it writes its configuration to the existing EFI System Partition shared with Windows and updates the NVRAM to point to GRUB first. It does not delete Windows files, but it hides them behind the Linux boot menu unless configured otherwise.

What if I don't have an Ubuntu partition anymore?

If you removed Ubuntu but still face this error, you must use a Windows Recovery USB. Boot from the USB, open Command Prompt, and run diskpart, then list vol to find the EFI partition (usually 100-500MB, FAT32). Assign it a letter, navigate to \EFI\Microsoft\Boot, and verify bootmgfw.efi exists. If it is gone, copy it from the Windows source files.

Does disabling Secure Boot help?

Disabling Secure Boot is generally not recommended as it reduces security. However, in rare cases where unsigned drivers or custom kernels cause boot loops, toggling it off can help diagnose the issue. For standard dual-boot setups, keeping Secure Boot enabled and ensuring both Windows and Ubuntu signatures are valid is the correct approach.

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