Oct 06 2021 01:48 PM
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?
Oct 07 2021 12:32 AM
Oct 07 2021 08:01 AM
Oct 07 2021 12:14 PM - edited Oct 07 2021 12:41 PM
@TammerAb
Please go throw the below steps:
The validation process has failed immediately once I added the fourth partition. (See the below screenshot)
Oct 07 2021 01:40 PM
I mean you can see in the screenshot I provided that I only have 2 partitions. Maybe you didn't see my screenshot? So your issue does not apply to me. I have no logical partitions, again the screenshot I posted shows this.
So I'm not sure if I'm missing something or you didn't look at my screenshot?
Here I reposted the screenshot in case maybe you couldn't see it.
Oct 08 2021 12:08 AM - edited Oct 08 2021 12:10 AM
As I can see from the screenshot you shared, I can't see an Active partition on disk1. There is one more condition from prerequisites as below:
I am sharing two screenshots, before and after the active partition.
Oct 08 2021 08:54 AM
Oct 08 2021 09:38 AM - edited Oct 08 2021 09:39 AM
As per above screenshot, mbr2gpt tool required the OS partition as mentioned in Microsoft's official document as below:
https://docs.microsoft.com/en-us/windows/deployment/mbr-to-gpt#disk-prerequisites
Oct 08 2021 11:02 AM
Oct 09 2021 12:49 AM
I had a similar issue even I attempted from Windows PE order brief, I settled the issue by utilizing the outsider plate segment device.
Oct 09 2021 10:58 PM - edited Oct 09 2021 11:00 PM
Did you try to shrink your C: drive? I will suggest you to shrink the drive and make 1 more primary partition of 4GB at the end of the disk. Let's give it another try.
Oct 27 2021 09:55 PM - edited Oct 27 2021 09:56 PM
I am having the exact same problem with the exception that my primary boot disk with the OS is disk 0. It has two partitions one being the active boot partition and the second being the recovery partition. I have tried several times but it always fails.
Oct 27 2021 11:02 PM - edited Oct 27 2021 11:04 PM
Hi @Blackskull,
Thanks for contacting me, as I can see from the screenshot:
Therefore, I'd suggest to shrink your drive c: and create another partition of 2GB. After this step try to validate the configuration by mbr2gpt tool. I hope this step will be a useful for you.
Nov 20 2021 10:05 AM
Nov 20 2021 09:08 PM
Hi @TammerAb,
Please share latest screenshot from disk management console, that will be helpful to identify the point of failure.
Nov 20 2021 09:16 PM
SolutionNov 20 2021 09:34 PM
hello @SalmanAhmed i tried what you suggested and the program still failed.
Nov 20 2021 09:42 PM - edited Nov 20 2021 09:42 PM
Hi @Blackskull
Please confirm that all of your 3 partitions are primary partition, the requirement says that the disk should not have any extended/logical partition.
Nov 21 2021 10:37 PM
Hello @SalmanAhmed 2 of the partitions are primary the third is the recovery partition and I can't change it.
Nov 25 2021 09:48 AM
Hi @Blackskull,
Please make sure that you have 1 active partition as well, also share the screenshot of disk management console.
Nov 20 2021 09:16 PM
Solution