GPT2MBR problem

서 원종 21 Reputation points
2021-04-23T10:17:03.16+00:00

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 for business | Windows Client for IT Pros | Devices and deployment | Other
{count} votes

Accepted answer
  1. Anonymous
    2021-04-26T09:11:44.25+00:00

    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://learn.microsoft.com/en-us/windows/deployment/mbr-to-gpt

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

    https://learn.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.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. S.Sengupta 24,476 Reputation points MVP
    2021-04-26T15:21:28.79+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.