Forum Discussion
mbr2gpt Disk Validation Failed
I've been trying to get the mbr2gpt Program to work and no matter what I do it will not work
This is the command I try to run
mbr2gpt /allowFullOS /disk:1 /validate
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 931 GB 0 B
Disk 1 Online 465 GB 2048 KB
Here is my disk partition information Disk 1 is the C Drive
I tried to shrink the drive by 200 mb and 2 gb it did not work.
Each time I try to validate I get the following error
C:\>mbr2gpt /allowFullOS /disk:1 /validate
MBR2GPT: Attempting to validate disk 1
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
Disk layout validation failed for disk 1
The screenshot below shows how my disks are setup
and I'm on the correct version of windows
I tried going into recovery mode as well and I received the same error.
Here is the log when I run the tool:
2021-10-06 16:41:19, Info MBR2GPT was explicitly asked to run in full OS mode.
2021-10-06 16:41:19, Info MBR2GPT: Attempting to validate disk 1
2021-10-06 16:41:19, Info MBR2GPT: Retrieving layout of disk
2021-10-06 16:41:19, Info MBR2GPT: Initial partition information
2021-10-06 16:41:19, Info ===========================================================
2021-10-06 16:41:19, Info Partition layout for disk: 1
2021-10-06 16:41:19, Info Partition style : MBR
2021-10-06 16:41:19, Info MBR signature: 997211822
2021-10-06 16:41:19, Info Number of partitions : 2
2021-10-06 16:41:19, Info ===================PARTITION===============================
2021-10-06 16:41:19, Info Number: 1
2021-10-06 16:41:19, Info Type: 7
2021-10-06 16:41:19, Info Boot: No
2021-10-06 16:41:19, Info Recognized: Yes
2021-10-06 16:41:19, Info Style: 0
2021-10-06 16:41:19, Info Offset: 1048576
2021-10-06 16:41:19, Info Length: 499511453184
2021-10-06 16:41:19, Info Volume: \\?\Volume{3b00000-0000-0000-0000-100000000000}\
2021-10-06 16:41:19, Info Drive: C:\
2021-10-06 16:41:19, Info NT Path: \Device\HardDisk1\Partition1
2021-10-06 16:41:19, Info ===================PARTITION===============================
2021-10-06 16:41:19, Info Number: 2
2021-10-06 16:41:19, Info Type: 39
2021-10-06 16:41:19, Info Boot: No
2021-10-06 16:41:19, Info Recognized: Yes
2021-10-06 16:41:19, Info Style: 0
2021-10-06 16:41:19, Info Offset: 499514343424
2021-10-06 16:41:19, Info Length: 591396864
2021-10-06 16:41:19, Info Volume: \\?\Volume{3b00000-0000-0000-0000-604d74000000}\
2021-10-06 16:41:19, Info Drive: None
2021-10-06 16:41:19, Info NT Path: \Device\HardDisk1\Partition2
2021-10-06 16:41:19, Info ===========================================================
2021-10-06 16:41:19, Info ESP partition size will be 104857600
2021-10-06 16:41:19, Info MBR2GPT: Validating layout, disk sector size is: 512 bytes
2021-10-06 16:41:19, Error ValidateLayout: Wrong boot partition count, expected 1 but found 0.
2021-10-06 16:41:19, Error Disk layout validation failed for disk 1
2021-10-06 16:41:19, Error ValidateLayout: Wrong boot partition count, expected 1 but found 0.
2021-10-06 16:41:19, Error Disk layout validation failed for disk 1
Does anyone have any idea on how to resolve this?
- SalmanAhmedSteel ContributorI had the same issue even I tried from Windows PE command prompt, I resolved the issue by using the third-party disk partition tool.
- TammerAbCopper ContributorYes that is an option. But I'd like to avoid paying for a piece of Software I will only use one time.
- SalmanAhmedSteel Contributor
TammerAb
Please go throw the below steps:- There should be a maximum of three primary partitions in the MBR partition table, including 100MB system partition as mentioned below:
1. (System, Active, Primary Partition)
2. C: (Boot, Page File, Cash Dumps, Primary Partition)
3. 😧 (Primary Partition) - You should not have any extended/logical partition, all three partitions must be primary partitions.
- If you have more than three partitions, you must delete the least important partitions after backing up the important data.
- I have done it successfully (Screenshot Attached)
The validation process has failed immediately once I added the fourth partition. (See the below screenshot)
- There should be a maximum of three primary partitions in the MBR partition table, including 100MB system partition as mentioned below:
- youaredrink763Copper Contributor
I had a similar issue even I attempted from Windows PE order brief, I settled the issue by utilizing the outsider plate segment device.
- iGritsCopper Contributor
TammerAb I had a similar issue. I found out that my OS and "boot" files were on 2 seperate hard drives. I validated this by setting my boot priority to my main drive that had my OS, it wouldn't boot. It only booted when I had my other HD set as 1st boot priority.
I then followed instructions to move boot files to the hard drive with my OS, and it was able to validate in mbr2gpt after.
- VancegggsiCopper ContributorMake sure the disk doesn't contain any partitions beyond the 2TB mark if it's a 2TB or larger disk. MBR disks have a limit of 2TB for partition size, so if there are partitions beyond this limit, the conversion might fail. In such cases, you may need to resize or delete those partitions before proceeding.