Forum Discussion
MBR2GPT Disk layout validation failed
I am attaching a screenshot of where the version number is.
The only other thing i can suggest is to try and use windows PE. I dont have the link handy atm, but you can easily find it by searching for it.
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?
- Dave_Elickdj40Jun 14, 2022Copper Contributor
Something looks strange about disk1 where your operating system is. Seems you system reserved partition is missing. Small partition of 100 MB that should be before your C partition. So disk 1 should have 3 partitions and it seems yours only has 2. I bring this up because I had 4 partitions on my operating system disk. I took notice of the warning to only have 3 partitions, so I deleted the 4th partition on my 1TB drive. I was getting the same fail that you mention over and over. I finally went back and looked at the disk. When I supposedly deleted the partition it was turned into free space which was being seen as an extended partition on the drive. When I deleted it a second time it turned into unallocated space on the drive. The mbr2gpt /validate command then came back as successful. That is why I took notice of how your disk appears. It seems there is a portion missing. It just might be your problem.
- biggdogg2800Mar 30, 2022Copper Contributor
Naeem86 THANK YOU! I had 4 partitions! As soon as I deleted HP_Recovery and HP_Tools, it Validated! I was going nutz!
- TammerAbOct 06, 2021Copper ContributorI can try Windows PE.
In response to your other points.
My firmware does support UEFI Boot there is no issue there.
As you can see from my screenshot I only have 2 partitions on that drive so that should not be an issue. - Naeem86Oct 06, 2021Copper ContributorThe only other thing i can suggest is try using Windows PE.
One thing i found was that you need to make sure your firmware supports uefi boot.
Also make sure your partitions are max 3 i guess.