question

13689830 avatar image
0 Votes"
13689830 asked YuhanDeng-MSFT commented

GPT2MBR problem

I'm trying to change mbr to gpt with MBR2GPT but it keeps fail.
I installed OS in disk1, but log show disk0-partition1 has boot flag which system partition.

 2021-04-23 18:31:53, Info                         MBR2GPT was explicitly asked to run in full OS mode.
 2021-04-23 18:31:53, Info                         MBR2GPT: Attempting to validate disk 0
 2021-04-23 18:31:53, Info                         MBR2GPT: Retrieving layout of disk
 2021-04-23 18:31:53, Info                         MBR2GPT: Initial partition information
 2021-04-23 18:31:53, Info                         ===========================================================
 2021-04-23 18:31:53, Info                         Partition layout for disk: 0
 2021-04-23 18:31:53, Info                         Partition style          : MBR
 2021-04-23 18:31:53, Info                         MBR signature: 1078400151
 2021-04-23 18:31:53, Info                         Number of partitions     : 2
 2021-04-23 18:31:53, Info                         ===================PARTITION===============================
 2021-04-23 18:31:53, Info                              Number: 1
 2021-04-23 18:31:53, Info                                Type: 7
 2021-04-23 18:31:53, Info                                Boot: Yes
 2021-04-23 18:31:53, Info                          Recognized: Yes
 2021-04-23 18:31:53, Info                               Style: 0
 2021-04-23 18:31:53, Info                              Offset: 1048576
 2021-04-23 18:31:53, Info                              Length: 524288000
 2021-04-23 18:31:53, Info                              Volume: \\?\Volume{40471497-0000-0000-0000-100000000000}\
 2021-04-23 18:31:53, Info                               Drive: None
 2021-04-23 18:31:53, Info                             NT Path: \Device\HardDisk0\Partition1
 2021-04-23 18:31:53, Info                         ===================PARTITION===============================
 2021-04-23 18:31:53, Info                              Number: 2
 2021-04-23 18:31:53, Info                                Type: 7
 2021-04-23 18:31:53, Info                                Boot: No
 2021-04-23 18:31:53, Info                          Recognized: Yes
 2021-04-23 18:31:53, Info                               Style: 0
 2021-04-23 18:31:53, Info                              Offset: 525336576
 2021-04-23 18:31:53, Info                              Length: 999676706816
 2021-04-23 18:31:53, Info                              Volume: \\?\Volume{40471497-0000-0000-0000-501f00000000}\
 2021-04-23 18:31:53, Info                               Drive: E:\
 2021-04-23 18:31:53, Info                             NT Path: \Device\HardDisk0\Partition2
 2021-04-23 18:31:53, Info                         ===========================================================
 2021-04-23 18:31:53, Info                         ESP partition size will be 104857600
 2021-04-23 18:31:53, Info                         MBR2GPT: Validating layout, disk sector size is: 512 bytes
 2021-04-23 18:31:53, Info                         BCD: Opening store. Flags: 0x0
 2021-04-23 18:31:53, Info                         BCD: Store path: "\??\GLOBALROOT\device\harddisk0\partition1\Boot\BCD"
 2021-04-23 18:31:53, Info                         BCD: Loaded hive at BCD00000000
 2021-04-23 18:31:53, Info                         BCD: Opening object {9dea862c-5cdd-4e70-acc1-f32b344d4795}
 2021-04-23 18:31:53, Info                         FindOSPartitions: Default boot entry: {C896555B-E5D3-11EA-9129-B0C5D3AF09B0}
 2021-04-23 18:31:53, Info                         BCD: Opening object {c896555b-e5d3-11ea-9129-b0c5d3af09b0}
 2021-04-23 18:31:53, Info                         VERBOSE: Device path: \Device\HarddiskVolume3
 2021-04-23 18:31:53, Info                         VERBOSE: Dos path: \\?\GLOBALROOT\Device\HarddiskVolume3
 2021-04-23 18:31:53, Info                         FindOSPartitions: Volume name for the default boot entry: \\?\Volume{4047148f-0000-0000-0000-100000000000}\
 2021-04-23 18:31:53, Info                         BCD: Opening object {de2813f9-e5d3-11ea-b38a-9e3b0442bc86}
 2021-04-23 18:31:53, Error                        GetOSDeviceVolume: Cannot get NT path for entry.[gle=0x000000ea]
 2021-04-23 18:31:53, Error                        FindOSPartitions: Cannot get volume name for the recovery boot entry. Error: 0x000000EA[gle=0x000000ea]
 2021-04-23 18:31:53, Error                        Cannot find OS partition(s) for disk 0[gle=0x000000ea]


disk1 log:
2021-04-23 18:31:55, Info MBR2GPT was explicitly asked to run in full OS mode.
2021-04-23 18:31:55, Info MBR2GPT: Attempting to validate disk 1
2021-04-23 18:31:55, Info MBR2GPT: Retrieving layout of disk
2021-04-23 18:31:55, Info MBR2GPT: Initial partition information
2021-04-23 18:31:55, Info ===========================================================
2021-04-23 18:31:55, Info Partition layout for disk: 1
2021-04-23 18:31:55, Info Partition style : MBR
2021-04-23 18:31:55, Info MBR signature: 1078400143
2021-04-23 18:31:55, Info Number of partitions : 2
2021-04-23 18:31:55, Info ===================PARTITION===============================
2021-04-23 18:31:55, Info Number: 1
2021-04-23 18:31:55, Info Type: 7
2021-04-23 18:31:55, Info Boot: No
2021-04-23 18:31:55, Info Recognized: Yes
2021-04-23 18:31:55, Info Style: 0
2021-04-23 18:31:55, Info Offset: 1048576
2021-04-23 18:31:55, Info Length: 242152532480
2021-04-23 18:31:55, Info Volume: \\?\Volume{4047148f-0000-0000-0000-100000000000}\
2021-04-23 18:31:55, Info Drive: C:\
2021-04-23 18:31:55, Info NT Path: \Device\HardDisk1\Partition1
2021-04-23 18:31:55, Info ===================PARTITION===============================
2021-04-23 18:31:55, Info Number: 2
2021-04-23 18:31:55, Info Type: 7
2021-04-23 18:31:55, Info Boot: No
2021-04-23 18:31:55, Info Recognized: Yes
2021-04-23 18:31:55, Info Style: 0
2021-04-23 18:31:55, Info Offset: 242153947136
2021-04-23 18:31:55, Info Length: 7903117312
2021-04-23 18:31:55, Info Volume: \\?\Volume{4047148f-0000-0000-0000-806138000000}\
2021-04-23 18:31:55, Info Drive: D:\
2021-04-23 18:31:55, Info NT Path: \Device\HardDisk1\Partition2
2021-04-23 18:31:55, Info ===========================================================
2021-04-23 18:31:55, Info ESP partition size will be 104857600
2021-04-23 18:31:55, Info MBR2GPT: Validating layout, disk sector size is: 512 bytes
2021-04-23 18:31:55, Error ValidateLayout: Wrong boot partition count, expected 1 but found 0.
2021-04-23 18:31:55, Error Disk layout validation failed for disk 1


diskpart show disk1-partition1 is boot partition.
what should I do to fix?

windows-10-hardware-performancewindows-hardware-certification
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
I would like to check if the reply could be of help? If yes, please help accept answer. If you need any additional assistance, please feel free to feedback.
Best Regards,
Danny

0 Votes 0 ·

Hi,
I would like to check if the issue has been fixed? If yes, please help accept answer. If you need any additional assistance, please feel free to feedback.
Best Regards,
Danny

0 Votes 0 ·

I fixed problem.
in log, "boot:yes" means bootmgr was installed in disk0-patririon1
I think diskpart's "boot partition" means boot loader...
so I set bootmgr from disk0 to disk1.

0 Votes 0 ·

Hi,
Thank you for sharing with Microsoft your experience.
Best regards,
Danny

0 Votes 0 ·
YuhanDeng-MSFT avatar image
1 Vote"
YuhanDeng-MSFT answered

Hi,
Based on your description, it seems that you need to check the validation of the partition, and remove all the other partitions expect the one you want to convert. Please try again after all the preparation done.

For your reference:
https://docs.microsoft.com/en-us/windows/deployment/mbr-to-gpt

https://docs.microsoft.com/en-us/windows-server/storage/disk-management/change-an-mbr-disk-into-a-gpt-disk

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions

Please note that log analysis is not within the forum scope. For further analysis, we suggest that you contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.
In addition, if the issue has been proved as system flaw, the consulting fee would be refund. You may find phone number for your region accordingly from the link below:
Global Customer Service phone numbers:
https://support.microsoft.com/en-us/help/13948/global-customer-service-phone-numbers

Thanks for your time.
Best regards,
Danny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SSengupta-4080 avatar image
1 Vote"
SSengupta-4080 answered

Kindly go through the following Microsoft reference:

MBR2GPT.EXE


I shall also suggest you to go through the following thread

https://www.tenforums.com/installation-upgrade/123171-mbr2gpt-not-working-disk-layout-validation-failed-disk-1-a.html


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.