New
#1
Convert MBR to GPT - MBR2GPT fails with error 0x00000000
I've been trying to convert my OS drive from MBR to GPT for 3 days so I can enable secure boot. OS is windows 10 Pro, 21H2. Laptop is a Samsung NP930X5J. Original SSD was 256 GB; I imaged it to a 1TB SSD many years ago using Acronis, replicating the whole disk (4 partitions), expanding the main partition to fill the larger SSD. System has been working trouble-free for ~8 years. Original system was Windows 8.1 pro, upgraded to Windows 10 pro a long time ago. No dual-boot, nothing fancy at all.
When I first ran the following command: mbr2gpt /validate /allowOSfull I got "Disk layout validation failed for disk 0". After days of experimenting, I eliminated one of the 4 partitions (a 100MB partition that had virtually nothing in it) and after that, I was able to get a 'validation completed successfully'.
So then I tried mbr2gpt /convert /allowfullOS. The command failed with this error:
System boots fine into Windows 10 in this configuration; I just can't convert to GPT.Code:C:\WINDOWS\system32>mbr2gpt /convert /allowfullOS MBR2GPT will now attempt to convert the default book disk. If conversion is successful the disk can only be booted in GPT mode. These changes cannot be undone! MBR2GPT: Attempting to convert disk 0 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes MBR2GPT: Trying to shrink the OS partition MBR2GPT: Creating the EFI system partition MBR2GPT: Installing the new boot files MBR2GPT: Performing the layout conversion Cannot perform layout conversion. Error: 0x00000000 MBR2GPT-undo: Removing the EFI system partition MBR2GPT-undo: Extending back the OS partition MBR2GPT: Conversion failed
I'm now heading down the rabbit-hole of pursuing the 0x00000000 error, but would appreciate any insight from anyone out there! Thanks.