Sub topic 4
Boot Failures and No OS Found
This chapter assumes you know the CompTIA troubleshooting steps from the first chapter. It also assumes you know basic BIOS/UEFI settings, the difference between an HDD, an SSD and an NVMe drive, and how to open a Command Prompt. The recovery tools themselves are covered in the next chapter. Here the goal is to work out where in the boot process the fault sits, so you choose the right fix.
How a Windows PC boots
Each boot stage hands control to the next. A failure message tells you which stage broke.
- Firmware (BIOS or UEFI) runs the power-on self-test (POST). It checks that the basic hardware is present.
- The firmware finds a boot device using the boot order. On UEFI systems it reads a boot entry that points to the EFI System Partition (ESP). On legacy BIOS systems it reads the master boot record (MBR) on the first sector of the disk.
- The boot manager (
bootmgrorbootmgfw.efi) reads the Boot Configuration Data (BCD) store. The BCD lists the installed Windows copies and how to start them. - The Windows loader (
winload) loads the kernel and the drivers needed at boot. - Windows starts services and shows the sign-in screen.
Reading the symptom
Match the message to the stage before you change anything. The table lists the common symptoms.
| Symptom | Likely stage | Most likely causes |
|---|---|---|
| No power, no fans, no display | Before POST | Power supply, power cable, loose power connector, dead motherboard |
| Beep codes or no display after power on | POST | Failed or unseated RAM, graphics card, overheating |
| "No OS found," "Operating system not found," or "Boot device not found" | Firmware finding a boot device | Wrong boot order, a removable disk first in the order, failed drive, loose cable, damaged MBR or ESP |
| "Invalid partition table" or "Missing operating system" | MBR (legacy BIOS) | Damaged MBR, wrong active partition |
| "BOOTMGR is missing" | Boot manager | Damaged or missing boot files, wrong active partition |
| "The boot configuration data file is missing required information" or error `0xc000000f` | BCD | Corrupt or missing BCD store |
| Stop error shortly after the Windows logo | Windows loader or drivers | Faulty driver, corrupt system files, failing disk or RAM |
| Boot loop or automatic repair loop | Windows loader | Failed update, bad driver, corrupt files |
| "Inaccessible boot device" | Windows loader and storage drivers | Changed storage controller mode, bad driver, file system damage |
| Black screen with a cursor | Late boot | Display driver, `explorer.exe` failure, malware |
The first rows are the ones the exam favors: No OS found and its variants. This message comes from the firmware, not from Windows. It means the firmware looked at the boot devices and did not find anything bootable.
Check the easy things first
Use the troubleshooting methodology. Establish what changed. Then test the simplest theory first. For a No OS found message, work through these checks in order, because each one is quick and none of them destroys data.
- Remove removable media. A USB drive, an SD card or a disc left in the machine can sit first in the boot order and get chosen. Unplug it and restart.
- Check the boot order in firmware setup. Confirm that the Windows Boot Manager entry (UEFI) or the internal drive (legacy) is first.
- Confirm that the firmware sees the drive. If the drive is missing from the setup screen, reseat the data and power cables, or the M.2 card. A drive that never appears points to a cable, a connector or a dead drive.
- Check the boot mode. A Windows install made for UEFI with GPT will not start if the firmware is set to legacy/CSM mode, and the reverse is also true. Someone may have reset the firmware to defaults, or a firmware update may have changed the setting.
- Check for a recent change. A new drive, a new operating system install, a firmware update, a dead CMOS battery that reset the settings, or a power loss during an update all explain a sudden failure.
Only after these checks pass should you go to the repair tools.
Repairing boot problems from the recovery environment
If the drive is visible and the settings are right, the boot files are the likely fault. Start the Windows Recovery Environment (WinRE) from installation media or from the failed automatic repair screen. Open Troubleshoot > Advanced options. Try Startup Repair first. It is automatic and the least destructive option. If it fails, open the Command Prompt and use bootrec.
bootrec /scanos
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcdEach switch does one job:
/scanossearches all disks for Windows installations that the BCD does not list. It changes nothing./fixmbrwrites a new master boot record to the system partition. It does not overwrite the partition table. Use it for legacy BIOS/MBR systems./fixbootwrites a new boot sector to the system partition. Use it whenBOOTMGRis missing or the boot sector is damaged./rebuildbcdscans for Windows installations and lets you add them to the BCD. Use it for BCD errors.
On a UEFI system with GPT, /fixmbr is not the main fix. The boot files live on the ESP, and /fixboot can return "Access is denied" until you repair the ESP. If bootrec cannot do the job, the boot files can also be recreated from the Windows installation with bcdboot C:\Windows. Know the bootrec switches for the exam. Treat bcdboot as a supporting detail.
Also check which partition is active on legacy MBR disks. If the active flag is on the wrong partition, the firmware cannot find the boot sector, and diskpart can mark the right one active. This is the cause behind "BOOTMGR is missing" after someone created or moved partitions.
Choosing the least destructive fix
Order your fixes from least to most destructive. This matches the exam's "best answer" wording.
- Remove USB media and fix the boot order.
- Reseat cables and components.
- Run Startup Repair.
- Run
bootrecswitches or rebuild the BCD. - Run
sfcandchkdskagainst the offline installation. These are covered in a later chapter. - Use System Restore or uninstall a recent update.
- Reset the PC, keeping files if possible.
- Reinstall Windows, which is the last resort and requires a backup.
Edge cases worth knowing
- Dual boot after a Windows reinstall. Installing Windows after another OS can overwrite the boot loader.
bootrec /rebuildbcdcan re-add the missing entries. - Storage mode changes. Switching SATA mode between AHCI and RAID/IDE in firmware can cause "Inaccessible boot device" because Windows lacks the matching driver. Changing the mode back usually fixes it.
- BitLocker recovery screen. After a firmware or hardware change, the PC may ask for a BitLocker recovery key. That is protection working correctly, not a boot failure. You need the key, which is often saved in the user's Microsoft account or in the organization's directory.
- Boot sector malware. A sudden boot failure with odd behavior beforehand can be a boot sector virus. Scan with bootable antivirus media before you rewrite the boot files.
- Intermittent failures. A PC that boots on some days and not others points to hardware: a loose cable, a failing drive, weak power or a dying CMOS battery that loses the boot settings and the clock.
Exercise
A user turns on a desktop and sees "Operating system not found." The user recently plugged in a USB flash drive and left it connected. List the steps you would take, in order, and say which tool you would not use yet.
Show answer
First remove the USB flash drive and restart, because the firmware may be trying to boot from it. If the message remains, enter firmware setup and confirm that the internal drive is visible and first in the boot order. Then check the boot mode (UEFI versus legacy) and reseat the drive cables if the drive is missing. Only if the drive is healthy and visible should you start WinRE, run Startup Repair, and then use bootrec. Do not use bootrec, a reset or a reinstall first, because the likely cause is the boot order and those actions are more destructive.
Exercise
A legacy BIOS PC with an MBR disk shows "BOOTMGR is missing" after a technician created a new partition. Which two checks or commands are the most relevant?
Show answer
Check that the system partition is still marked active (using diskpart in WinRE), and run bootrec /fixboot to write a new boot sector. If the BCD is also damaged, run bootrec /rebuildbcd.
Exercise
After a firmware update, a PC shows "Inaccessible boot device." The drive is detected and the data is intact. What setting should you check first?
Show answer
Check whether the firmware update changed the SATA/storage controller mode, for example from AHCI to RAID or IDE. Set it back to the mode Windows was installed with.