OS Not Found: Safe Checks to Try First
If your computer shows “Operating system not foundâ€� instead of booting into Windows, macOS, or Linux, the first safe checks are to remove any USB drives or discs, then restart and enter the BIOS/UEFI to confirm the correct boot drive is selected. If that doesn’t work, run a hard drive diagnostic and check the SATA/power cables inside the case. This article walks through each step in a safe, non-destructive order, so you don’t accidentally erase data or make the problem worse.
What “Operating System Not Found� Actually Means
This error appears during the Power-On Self-Test (POST), before the operating system loads. The BIOS or UEFI firmware scans the boot devices it knows about—hard drive, SSD, USB, network—and finds no valid boot sector or bootloader on any of them. It is not the same as a blue screen or a kernel panic; the OS never starts. The message can come from the firmware itself or from a boot manager like Windows Boot Manager, but the meaning is the same: the firmware found no bootable operating system.
Common causes include a disconnected data cable, a failed drive, a corrupted bootloader, or a BIOS setting that points to the wrong device. It can also happen after a failed Windows update, a power outage during startup, or a cloned drive that wasn’t properly configured. The good news is that many causes are fixable without reinstalling Windows.
Safe Check 1: Remove External Media and Restart
Before opening the case or running diagnostics, do the simplest thing first. A USB stick, external hard drive, or a disc left in the optical drive can hijack the boot order. The firmware tries that device first, finds no OS, and shows the error even though your main drive is fine.
- Unplug all USB drives, memory cards, and external enclosures.
- Eject any disc from the optical drive.
- Disconnect phones or tablets that might be in “charge only� mode.
- Restart the computer and see if it boots normally.
If it boots, you’ve solved it. If not, move to the next check. This step is safe because it only removes external devices—no data is touched.
Safe Check 2: Check the BIOS/UEFI Boot Order
The firmware’s boot order determines which device it tries first. If your main drive is listed after a network boot or a disabled entry, the system may skip it. Enter the BIOS/UEFI setup by pressing a key during startup—usually Del, F2, F10, or Esc, depending on the manufacturer. The exact key is often shown briefly on the first screen.
- Restart and press the setup key repeatedly until the firmware menu appears.
- Look for a section called Boot, Boot Order, or Boot Priority.
- Find your main drive (it may show the brand/model or “Windows Boot Manager�).
- Move it to the top of the list, then save and exit.
If you have a UEFI system with Secure Boot enabled, make sure the drive is set to boot in UEFI mode, not legacy/CSM mode. A mismatch causes the same error. This step is safe—you’re only changing settings, not data.
Safe Check 3: Inspect Physical Connections
If the boot order is correct and the error persists, the drive may not be detected at all. Shut down the computer, unplug the power cable, and open the case. Check the SATA data cable and the SATA power cable on both the drive and the motherboard. Reseat them firmly. If you have a spare SATA cable, try swapping it—cables can fail internally.
For M.2 SSDs, reseat the card in its slot, but be careful: they are delicate and may need a screw to hold them in place. If you’re not comfortable opening the case, a technician can do this in minutes. This step is safe as long as the computer is off and unplugged.
Safe Check 4: Run a Hard Drive Diagnostic
If the drive is detected in BIOS but still won’t boot, the drive itself may be failing. Most manufacturers offer a free diagnostic tool you can download to a USB stick and boot from. Seagate has SeaTools, Western Digital has Data Lifeguard, and Samsung has its own utility. Run the “long� or “extended� test—it can take hours, but it tells you whether the drive has bad sectors or mechanical failure.
If the diagnostic fails, the drive is likely dead or dying. Do not try to force it. If the diagnostic passes, the problem is probably a corrupted bootloader, which leads to the next step.
Safe Check 5: Repair the Bootloader with Windows Recovery
If the drive passes diagnostics, the bootloader is the most likely culprit. Windows stores boot information in a hidden partition; if it becomes corrupted, the firmware can’t find the OS. You can repair it using the Windows Recovery Environment (WinRE) without reinstalling.
- Create a Windows installation USB on another computer (Microsoft’s Media Creation Tool).
- Boot from the USB and choose “Repair your computer� instead of “Install now.�
- Go to Troubleshoot → Advanced Options → Command Prompt.
- Type
bootrec /fixmbrand press Enter. - Type
bootrec /fixbootand press Enter. - Type
bootrec /rebuildbcdand press Enter. - Exit and restart.
If you have a dual-boot system, the commands may need adjustment, but for a single Windows install, this works in most cases. This step is safe—it only rewrites boot records, not your files.
When to Consider Data Recovery or Reinstall
If the drive fails diagnostics, or the bootloader repair doesn’t work, you have two options. First, try to recover data before reinstalling. You can connect the drive to another computer as a secondary drive, or use a live Linux USB to copy files to an external drive. If the drive makes clicking noises or is not recognized at all, stop trying—further attempts may cause more damage, and a professional data recovery service is the only safe route.
If you have backups and just want the computer working again, a clean install of Windows is the fastest path. You’ll lose installed programs and settings, but your personal files can be restored from backup. This is a last resort, not a first check.
Frequently Asked Questions
Will I lose my files if I run bootrec commands?
No, the bootrec commands only rewrite the boot sector and boot configuration data. They do not touch your personal files, documents, or installed programs. However, if the drive is failing, any operation could be risky, so back up first if possible.
What if the drive doesn’t show up in BIOS at all?
That usually means a hardware problem—bad cable, dead drive, or loose connection. Try a different SATA port and cable. If it still doesn’t appear, the drive is likely dead and needs replacement.
Can a virus cause “Operating system not found�?
Yes, some malware can overwrite the boot sector or hide the boot partition. Running a bootable antivirus scanner from a USB drive can help, but if the bootloader is damaged, you’ll still need to repair it with the steps above.
Is this error the same as “No bootable device found�?
They are essentially the same. “No bootable device found� is common on Dell and some other brands, while “Operating system not found� appears on HP and others. Both mean the firmware can’t find a valid OS to start.
Should I try a system restore before bootrec?
System Restore can fix some boot issues, but it requires the recovery environment to work. If you can access “Repair your computer,� you can try System Restore first—it’s safe and may fix the problem without command-line work. If it fails, proceed with bootrec.
What if I have a Linux dual boot?
If you have Linux installed alongside Windows, the GRUB bootloader normally appears first. If you see “Operating system not found,� GRUB may be missing. Booting from a Linux live USB and running update-grub or reinstalling GRUB can fix it. The exact commands depend on your distribution, so search for your distro’s recovery guide.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.