MBR (Master Boot Record) is most commonly used partition style in Windows system. It still supports both legacy and UEFI types of BIOS. But the lack of the storage capacity is slowly giving its way to GPT (GUID Partition Table) which also provides a redundant protection by writing the GPT header and partition table at the both beginning and end of the disk.
If you are using a partition formatted in MBR and would like to convert it to GPT so you can benefit the full storage space in one partition, here is a way to do it now without losing any data in Windows 10 Creators Update.
MBR2GTP is a command line utility that converts a disk from Master Boot Record (MBR) to GUID Partition Table (GPT) partition style without modifying or deleting data on the disk. It’s originally designed to be run in WinPE command prompt environment but was just released as a built-in command line in Windows 10 Creators Update. That said, you will need a Windows 10 system that runs on version 1703 or later to use the tool.
MBR2GPT /validate|convert [/disk:<diskNumber>] [/logs:<logDirectory>] [/map:<source>=<destination>] [/allowFullOS]
By default, MRB2GTP is only allowed to run in the WinPE environment. You will need to use the switch /allowFullos to bypass this restriction to use the command in Windows 10.
The following steps illustrate high-level phases of the MBR-to-GPT conversion process:
- Disk validation is performed.
- The disk is repartitioned to create an EFI system partition (ESP) if one does not already exist.
- UEFI boot files are installed to the ESP.
- GPT metadata and layout information is applied.
- The boot configuration data (BCD) store is updated.
- Drive letter assignments are restored.
As you can see, since there is no single step that touches the real data, no data will be lost or deleted during the conversion.
A few notes
First of all, if you use the tool in Windows 10, you need to run it in an elevated command prompt window since it requires the local admin rights to access and make changes to the partition table.
It can also convert operating system disk that runs an earlier version of Windows 10, such as version 1507, 1511, and 1607.
Disks that run Windows 7, 8, or 8.1 are not officially supported. Feel free to try, and it should work theoretically. However, the recommended method to convert these disks is to upgrade the operating system to Windows 10 first, then perform the MBR to GPT conversion.
Lastly, read more if you are interested,
- Why The Size of My Partition is Maxed Out at 2 Terabyte and How to Get Over it
- What to Do When Windows Cannot Be Installed on the GPT Partition Styled Disk
Latest posts by Kent Chen (see all)
- Linux Distros Subsystem Not Supported in Windows 10 S - May 24, 2017
- The New Surface Pro Announced - May 23, 2017
- Recovering Data Encrypted by WannaCry Ransomware - May 19, 2017
Last updated: 04/12/2017