Mbr2gpt Cannot Find OS Partition: Fix Guide
Mbr2gpt cannot find OS partition means the tool can’t locate a valid Windows system or EFI system partition on the disk you’re trying to convert. This usually happens when the disk doesn’t have the expected partition layout, the tool is run with insufficient privileges, or the disk is not the one containing the Windows installation. The fix involves checking the disk number, verifying partition types, and ensuring the tool runs from an elevated command prompt.
What Mbr2gpt Actually Does
Mbr2gpt is a built-in Windows command-line utility (introduced in Windows 10 version 1703) that converts a disk from the Master Boot Record (MBR) partition scheme to the GUID Partition Table (GPT) scheme without deleting data. The conversion is a one-way operation—once converted, you cannot revert to MBR without wiping the disk. The tool modifies the partition table and creates the necessary EFI System Partition (ESP) and Microsoft Reserved (MSR) partition, then updates the boot configuration to use UEFI instead of legacy BIOS.
Why the “Cannot Find OS Partition” Error Occurs
The error “Cannot find OS partition” appears when Mbr2gpt cannot identify a valid Windows system partition on the specified disk. The tool looks for a partition that contains the Windows operating system files (usually the C: drive) and a system partition that holds the boot files (the active partition in MBR). If either is missing, misconfigured, or not on the disk you specified, the conversion stops. Common triggers include:
- Running the command without administrator privileges.
- Specifying the wrong disk number (e.g., using disk 0 when Windows is on disk 1).
- The disk has a dynamic layout instead of basic.
- The system partition is not marked as active, or there is no active partition at all.
- The Windows installation is on a partition that is not recognized as the OS partition (e.g., a recovery or data partition).
- Third-party partitioning tools created a non-standard MBR layout.
Step-by-Step Fix: Check Disk and Partition Layout
Before attempting any conversion, confirm that the disk you’re targeting is the one with Windows and that it has a valid MBR structure. Use Diskpart or Disk Management to inspect the disk.
- Open Command Prompt as Administrator. Press Win + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
- Type
diskpartand press Enter. - Type
list diskto see all disks. Note the disk number that contains your Windows installation (usually the one with the largest capacity or the one that shows as GPT if you have multiple disks). - Type
select disk X(replace X with the correct disk number). - Type
list partitionto view partitions. Look for a partition with the type System (the active partition) and a partition with the type Primary that holds Windows (usually the largest). - If you don’t see a System partition, you need to create one. Exit diskpart with
exit.
If the disk has no active partition, you can mark one as active. Use select partition N (where N is the partition you want to make active, typically the small 100-500 MB partition) and then type active. But be careful: the active partition must be the one that contains the boot files (bootmgr), not the Windows data partition.
Correct Mbr2gpt Syntax and Common Mistakes
The most common mistake is running the command without the /allowFullOS flag. Mbr2gpt is designed to run from Windows Preinstallation Environment (WinPE), but you can run it from the full Windows OS by adding this flag. The correct syntax is:
mbr2gpt /validate /disk:0 /allowFullOS
First, validate the disk to see if it’s convertible. If validation passes, run the conversion with:
mbr2gpt /convert /disk:0 /allowFullOS
Replace 0 with the actual disk number. If you get the “Cannot find OS partition” error during validation, it means the disk isn’t suitable. Double-check that you’re using the correct disk number. Many people accidentally target a secondary data disk instead of the boot disk.
What to Do If Validation Fails
If validation fails with the error, you have a few options. First, ensure the disk is basic, not dynamic. Dynamic disks cannot be converted with Mbr2gpt. You can check this in Disk Management by right-clicking the disk and looking at the volume type. If it’s dynamic, you’ll need to back up and recreate the volumes as basic, which is a destructive process.
Second, check if the system partition is present and active. In MBR disks, the system partition is the one that contains the boot manager (bootmgr) and is marked as active. If you’re using a custom partition layout (e.g., from a previous Linux installation or a cloned disk), the active flag might be missing. Use the diskpart steps above to set the correct partition as active.
Third, if the disk uses an extended partition or logical drives, Mbr2gpt might not handle it correctly. The tool expects a simple MBR layout with primary partitions. You may need to convert logical drives to primary, which is not possible without third-party tools.
Alternative: Use Windows Settings to Switch to UEFI
If Mbr2gpt keeps failing, you can try the built-in Windows Settings method. This is available on Windows 10 and 11 and works only if the firmware supports UEFI and the disk is MBR. Go to Settings > System > Recovery (Windows 11) or Update & Security > Recovery (Windows 10). Under Advanced startup, click Restart now. After the PC restarts, go to Troubleshoot > Advanced options > UEFI Firmware Settings and restart. Then, boot into Windows and run the command from an elevated prompt:
mbr2gpt /convert /disk:0 /allowFullOS
This method sometimes works when the validation fails because the firmware is already in UEFI mode. However, if the error persists, you may need to manually create the EFI system partition using Diskpart and then run the conversion. This is more advanced and requires careful steps, but it’s a known workaround.
Frequently Asked Questions
Can I run Mbr2gpt on a disk with BitLocker encryption?
No. Mbr2gpt requires that BitLocker be suspended or disabled before conversion. If BitLocker is active, the tool will fail with an error. You can suspend protection temporarily by going to Control Panel > BitLocker Drive Encryption and clicking Suspend protection. After conversion, you can resume it, but note that the disk will be re-encrypted.
Will Mbr2gpt delete my files?
No, the conversion is non-destructive. It only changes the partition table and creates new partitions. However, it’s always recommended to back up important data before any disk operation, as unexpected errors can occur.
What if I have multiple OS installations on the same disk?
Mbr2gpt can only handle one Windows installation per disk. If you have a dual-boot setup with Linux or another OS, the tool may not recognize the OS partition correctly, and the conversion may fail. You might need to remove the other OS or use a third-party tool like GParted to manually convert.
Why does Mbr2gpt say “Cannot find OS partition” even though Windows boots fine?
This can happen if the system partition (the active one) is not the one containing the boot files. For example, if you cloned a Windows installation to a new disk and didn’t copy the system partition correctly, the boot files might be on the C: drive itself, which is not a valid MBR layout. You can fix this by creating a small FAT32 partition and copying the boot files, but that’s complex. Alternatively, use a third-party tool like AOMEI Partition Assistant that can handle such cases.
Is it safe to convert from MBR to GPT?
Yes, if done correctly. The main risk is data loss if the conversion is interrupted (e.g., power failure). Ensure your laptop is plugged in and stable. Also, after conversion, you must enter the BIOS and switch from Legacy to UEFI boot mode, otherwise Windows won’t boot.
Can I convert back from GPT to MBR?
No, Mbr2gpt is one-way. To go back to MBR, you’d need to wipe the disk and reinstall Windows. So make sure you really want to switch to UEFI before proceeding.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.