How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (2024)

The ‘Operating system not found‘ or ‘Missing operating system‘ message at the computer boot means that there is no operating system bootloader on the current drive/media. As a result, your computer cannot find and start the Windows bootloader (or any other operating system loader installed on the computer) or the Windows Recovery Environment (WinRE).

Contents:

  • Common Fixes for Operating System not Found or Missing Errors
  • Identify Disk Partition Table and Windows Drive
  • Rebuild the Windows Bootloader on the MBR Disk
  • How to Repair the EFI Bootloader on a GPT Drive of UEFI Computer
  • Fix: Operation System Not Found in VMware VM

An error you see when trying to boot an operating system may look like this:

An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. Press Ctrl+Alt+Del to restart.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (1)

The specific error text may vary depending on the device vendor or UEFI/BIOS version. In all cases, the error indicates that the operating system bootloader was not found on the drive.

For example, on Lenovo computers and laptops, a similar error looks like this:

Error 1962: No operating system found. Boot sequence will automatically repeat.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (2)

or:

Booting from Hard Disk…Missing operating system.No bootable device.

Common Fixes for Operating System not Found or Missing Errors

The most common reasons why an “Operating system not found” error can occur when you start your computer:

  • A corrupted system partition, missing or damaged MBR (master boot record), or no active partition (or an incorrect disk partition is marked as active);
  • The Windows boot loader (BCD) is corrupted or the boot partition is accidentally deleted;
  • An HDD/SSD with the OS installed is not connected. This can include problems such as a poor ribbon cable connection, or any hardware problems with the drive, RAID, or disk controller.

Therefore, to fix the problem with detecting the OS loader, you first need to check the following:

  1. The hard drive containing the operating system must be connected to the computer. Disconnect all additional drives, remove connected USB drives (this is indicated by the message Try disconnecting any drives that don’t contain an operating system);
  2. Check the reliability of the power and HDD ribbon cable connections;
  3. Make sure that your hard disk drive is detected by the BIOS/UEFI and that it is set as the primary boot device (under Hard Disk Priority / Boot Device Priority);
  4. If you changed the SATA controller mode in the BIOS before the problem occurred, for instance, from AHCI to IDE or RAID (or vice versa), revert to the original SATA mode;
  5. Resetting the BIOS settings to default may help in some cases (use the BIOS option called Restore Defaults, Load Setup Defaults, or Load Fail-Safe Defaults);
  6. Check the Secure Boot settings in UEFI – it is possible that they have been changed (check if Windows boots correctly with the Secure Boot mode enabled/disabled and in the Legacy mode).

If you have done all this and Windows still doesn’t boot, you will need to restore the Windows bootloader and the boot record.

Identify Disk Partition Table and Windows Drive

In order to repair the bootloader, you need a Windows installation media (on a CD/DVD/ISO/bootable USB drive) or LiveCD.

Change the boot order in BIOS (UEFI), boot from your installation/boot media, and open the command prompt (if you are using Windows installation media, press Shift+F10 on the language selection screen).

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (4)

First of all, you must detect the type of partition table on your disk: GPT or MBR. The method for restoring the Windows bootloader depends on it. Run:
diskpart
Enter this command: list disk
If there is an asterisk (*) in the Gpt column for your disk, then the GPT partition table is used, otherwise, it is MBR.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (5)

Display the list of volumes on the disk:

list vol

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (6)

Exit the diskpart session:
exit
Judging by the volume sizes, Windows is probably installed on the E: drive. Check it by running this command:
dir e:

As you can see, Windows, Program Files, Users, and other common Windows folders are on this drive.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (7)

So, you have identified the type of partition layout on your hard disk and the drive letter of the partition where Windows is installed on. Depending on the partition table, go to the appropriate section of the article.

Rebuild the Windows Bootloader on the MBR Disk

Suppose you have determined that the MBR partition table is used on your Windows drive. This means that your computer is using BIOS firmware or has UEFI firmware but you boot the OS in compatibility mode (Legacy or CSM mode).

Check the detailed guide on how to rebuild the Windows MBR bootloader and BCD on a BIOS-based computer.

Create bootloader configuration files on the drive E:\:

bcdboot E:\Windows /S E:

The “Boot files successfully created” message should appear.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (8)

Re-create a Master Boot Record (MBR):

bootrec.exe /FixMbr
bootrec.exe /FixBoot
bootrec.exe /RebuildBcd

You may receive an Access Denied error when you run the bootrec.exe /FixBoot command.

In this case, you must first run:

bootsect /nt60 all

This command will check and update the bootmgr code (Master Boot Code) on all partitions. Then run the command:

bootrec.exe /FixBoot

Now make the Windows partition active (the BIOS transfers control to the OS bootloader on the active MBR partition):

In this article, we don’t show how to recreate the System Reserved partition, as the bootmgr loader may be located on the Windows drive.

diskpart
list disk
sel disk 0
list vol
select volume 2
(Windows is installed on this volume, as we discovered earlier)
active
exit

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (9)

Restart your computer and make sure that Windows boots correctly without the “Operating system not found” error.

How to Repair the EFI Bootloader on a GPT Drive of UEFI Computer

If your hard disk is partitioned in the GPT partition table, this means that your computer is using the UEFI firmware instead of the BIOS. You can find the complete guide on how to restore the Windows 10/11 bootloader on a UEFI-based computer in the following article How to Repair Windows EFI Bootloader on a GPT Disk. Let’s take a quick look at the main steps.

First, you need to find and assign a letter to the EFI system partition with the FAT32 file system (EFI, Extensible Firmware Interface or ESP, EFI System Partition). The default size of the EFI partition is 100MB. This partition contains the EFI bootloader and the Windows Boot Manager. The configuration file for the BCD boot loader is also stored here.

Learn more about the EFI system boot partition on Windows.

Diskpart
List vol

For example, you have detected that it is Volume 1 with the System label.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (10)

Select this EFI partition and assign a drive letter to it:

select volume 1
assign letter M:
exit

Rebuild the BCD bootloader configuration on the EFI partition:

cd /d m:\efi\microsoft\boot\
ren BCD BCD.bak
bcdboot E:\Windows /l en-us /s M: /f ALL

This command should copy the Windows boot environment files from the E:\Windows directory (as we discovered earlier, Windows is installed on drive E: in our case).

Restart your computer, remove the boot media (USB flash drive), and check that Windows boots correctly.

Fix: Operation System Not Found in VMware VM

You might encounter the ‘Operating system not found‘ error when trying to boot a virtual machine running on VMware ESXi or Workstation.

How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (11)

Check the following to fix this issue on a VMware virtual machine:

  • If you are attempting to boot the VM from an ISO file, make sure that the Connected and Connected at Power On options are enabled in the virtual CD/DVD settings. Check that the path to an existing ISO file containing the operating system installation image is specified in the Use ISO image file parameter. Ensure that the ISO image used to install the guest operating system is not corrupted;
  • If you see the message PXE-M0F: Exiting Intel PXE ROM when you start the VM, go into the VM BIOS settings and check that the CD-ROM Drive, Hard Disk, and Removable Drives device are set to a higher boot order than Network Boot from VMware VMXNET3;
  • Open the virtual machine properties and check that the storage containing the virtual machine’s VMDK files exists. It is also possible that the VM’s VMDK files may have corrupted and you may need to restore them from a backup;
  • Open the properties of the VM, go to the Options -> Advanced tab, and check that the VM’s firmware type is UEFI (used by default).
How to Fix 'An Operating System Wasn't Found' Error on Windows | Windows OS Hub (2024)
Top Articles
MK Dons 'end of an era': Fans react as owner sells football club
Wordscapes Daily Answers
Everything you need to know about a Sam's Club Membership
Booked On The Bayou Houma 2023
Amazon Ups Drop Off Locations Near Me
Edgenuity Answer Key Algebra 1 Pdf
The STAR Market - China's New NASDAQ for Rising Star Companies
Evo Unblocked
Aita For Helping My Girlfriend Get Over Her Trauma
Bowling Pro Shop Crofton Md
Best Conjuration Spell In Skyrim
Jera Gardens
New & Used Motorcycles for Sale | NL Classifieds
Schüleraustausch Neuseeland - Schulabschluss mit Study Nelson
8 of the best things to do in San Diego: get a taste of nature near a laid-back city
Watchseries To New Domain
Shae Cornette Bikini
Ar Kendrithyst
Us151 San Jose
SEBO (UK) Ltd on LinkedIn: #sebouk #commercialcleaning #cleaning #floorcleaning #carpetcleaning
Crazy Rays Price List
The Real-Life Woman That Inspired Japanese Horror Classic Ring - SlashFilm
Gary Keesee Kingdom Principles Pdf
Kickflip Seeds
Mexi Unblocked Games
Panic! At The Disco - Spotify Top Songs
The Quiet Girl Showtimes Near Landmark Plaza Frontenac
Freeman Funeral Home Chapmanville Wv Obits
Nickelodeon Home Media
Marketwatch Com Game
Korslien Auction
Mcdonald's Near Me Dine In
Low Tide In Twilight Mangabuddy
Patient Portal Bayfront
9294027542
Kurlyrose
Seller Feedback
Espn Expert Picks Week 2
Armored Beacon Feh
Sacramento Library Overdrive
7Ohp7
Inter Miami Vs Fc Dallas Total Sportek
Mathews Vertix Mod Chart
Wush Ear Cleaner Commercial Actor
2022 Basketball 247
Rachaelrayshow Com Recipes
Gasmonkeygarage.com Cars For Sale
Netspar on LinkedIn: Netspar is pleased to announce the next Netspar Pension Day, which will…
Grizzly Expiration Date 2023
Sharon Sagona Obituary
Intervallfasten 5/2: Einfache Anfänger-Anleitung zur 5:2-Diät
Lharkies
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6455

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.