As the message implies, the No Bootable Device error can occur as a result of both hardware and software issues.
Due to loose connections or a failed storage drive, there actually may not be a bootable device available. Or, on the software end, problems like a corrupt boot sector or a misconfigured boot order could be causing this error.
The best way to fix this error will be to first figure out where the root of the issue lies and apply the appropriate solutions. We’ve detailed how you can do this in the sections below.
What’s Causing the No Bootable Device Error?
- Faulty hardware
- Incorrect boot order
- Wrong boot mode
- No active partitions
- Corrupt boot sector
Ways To Fix No Bootable Device Error
We recommend trying the fixes in the order listed below, starting with hardware troubleshooting first.
Check if Boot Device is Detected
First, you must check if the boot drive is actually detected or not in the BIOS. Here are the steps for this:
- Power on your PC and press the BIOS key (Fn keys or Del).
- Navigate to the Bootable Devices or Boot Priority section.
- Check if the boot drive is listed here.
If the drive is atleast listed as bootable, the problem is on the software end. You should skip ahead to the next section and try the software-related fixes.
But if the drive isn’t even detected by the BIOS, here’s what you can do in terms of hardware troubleshooting:
- First, one of the components (cables, pins, etc.) could be causing a loose or failed connection. Remove the storage device and check for physical damage on all the components.
- Reconnect the device and check if it’s detected now. Some users have also found reseating the RAM to be helpful.
- If it’s not detected, try different slots and cables and check again.
- Also, try connecting the storage device to a different system. If the device is detected on another system, your motherboard’s slots are likely damaged.
If the boot drive isn’t detected despite trying all these combinations, it’s likely that the device itself is dead. Unfortunately, device failure is a very common reason for the No Bootable Device error.
Generally, as long as the device hasn’t completely failed, it’ll keep switching between working and failed states for some time. As such, if you’re still able to access the device at times, it would be best to back up any important data immediately.
If the drive has completely failed, you can try taking it to a professional for repair and recovery, but do keep in mind that success isn’t guaranteed.
Change Boot Order
Assuming the device was atleast detected in the BIOS, it’s most likely that it’s trying to boot from the wrong device. Aside from the boot device, disconnect USBs and other peripherals and follow the steps listed below:
- Power on your PC and press the Boot Options key (usually F12 > other Fn keys > Esc).
- Select the Boot Device and press Enter.
- Alternatively, you could also enter BIOS setup, change the boot order, save the changes, and exit. But this is a more roundabout process.
Change Boot Mode
If your OS was installed in Legacy BIOS mode with MBR partitioning, the BIOS would look to the MBR for boot files. If the OS was installed in UEFI mode with GPT partitioning on the drive, the EFI bootloader would launch the EFI executables from the EFI System Partition to boot the system.
As the boot process flows differently between BIOS and UEFI, the correct one needs to be selected for your system to be able to boot properly. For instance, if the boot drive is formatted as MBR, but the boot mode is set to UEFI, the system wouldn’t be able to boot as there are no EFI executables on the drive.
With all that said, here’s how you can change the boot mode:
- Press the BIOS key (Fn keys or Del) to boot into BIOS Setup.
- In the Boot tab, select the Boot Mode option.
- Change it from UEFI to Legacy BIOS (CSM) or vice-versa.
- Press the key displayed on the screen to save the changes and exit (usually F10).
- If the boot mode wasn’t the issue, you can follow the same steps to change it back later.
Mark Partition As Active (MBR)
In the case of MBR partitioned drives, the BIOS checks the partition marked as active for boot files. If none of the partitions are marked as active, the BIOS will assume that there are no boot files on the drive, leading to the No Bootable Device error. In such cases, here’s how you can mark the system partition as active:
- First, connect an installation media (DVD or USB) or recovery drive to your PC.
- Change the boot order as detailed earlier to boot from the media this time.
- In the case of the installation media, select Repair your computer in the setup wizard. In the case of a recovery drive, set the keyboard layout. After this, the steps are the same.
- In the Recovery Environment, select Troubleshoot > Advanced Options > Command Prompt.
- Type
diskpart
and press Enter. - Enter
list disk
and note the system disk #. - Type
sel disk 0
, replace 0 with the system disk #, and press Enter. - Enter
list partition
and note the partition # of the system partition. - Type
sel partition 0
, replace 0 with the system partition #, and press Enter. - Once the system partition is selected, use the
active
command. - Enter
exit
to exit diskpart, andexit
again to exit the command prompt. - Restart your computer, change the boot order back to prioritize the boot device, and save the changes.
- Restart once more and check if you can boot properly now.
Repair Boot Sector
It’s also possible that your Windows install isn’t detected due to a corrupt boot sector. In the case of MBR drives, you can access the WinRE command prompt using an installation media as done in the previous section and use the following commands to repair the boot sector:
bootrec /FixMBR
bootrec /FixBoot
bootrec /ScanOs
bootrec /RebuildBcd
In the case of GPT drives, you must first mount the EFI System Partition (ESP) and then repair it as such:
- First, execute the following commands:
Diskpart
List vol - Identify the ESP. Check for FAT32 file system (Fs), Boot in the Label section, or System in the Info section.
- We’ll use volume 5 as an example and R: as it’s an unassigned drive letter. You should change these if required in your case.
- Enter
sel vol 5
andassign letter=R:
to mount the ESP. - Enter
exit
to exit diskpart. - Replace R: with your ESP’s EFI partition’s letter if different and run the following command:
cd /d R:\EFI\Microsoft\Boot\
- Try these paths instead if you encounter the system cannot find the path specified error:
cd /d R:\Boot\
cd /d R:\ESD\Windows\EFI\Microsoft\Boot\ - Execute the following commands:
bcdboot C:\Windows /s R: /f UEFI
ren BCD BCD.backup
Bcdboot C:\Windows /s R: /f ALL
exit - Now restart your PC and check if the issue is resolved.
Reinstall Windows
If even repairing the boot sector didn’t help, the final option is to reinstall Windows entirely. We have a detailed article on installing Windows if you need step-by-step instructions.
One thing to keep in mind during this process is that if you have multiple drives on your system, you should only keep the boot drive connected and disconnect the rest.
This is necessary because sometimes, most of the Windows files get installed on the selected disk while the boot partition gets installed to the second drive, which ultimately leads to the same No Bootable Device error.