Hard disk drives become much bigger, to the servers that use hardware RAID arrays such as RAID 5, the virtual disk may be over 10TB. If you build a RAID 5 array with 3 3TB hard disks, the virtual disk in Disk Management is 6GB. If this disk is MBR style, you can only use 2TB space, the extra 4TB Unallocated space cannot be used to create new volume or expand other one. In addition, you can't create a single volume larger than 2TB in a MBR disk.
To convert MBR to GPT on Windows Server 2012 (R2), there are several ways. Windows has built-in Disk Management and diskpart command tool to help convert. However, you must delete all partitions in the MBR disk before converting.
In diskpart command prompt window, type help convert GPT and you'll see the syntax, note and example of convert command.
In Disk Management console, when you right click the front of a MBR disk, there is also an option. However, the "Convert to GPT Disk" option is grayed out if there's a partition in it.
With MBR2GPT.exe (Microsoft provided) and NIUBI Partition Editor, you can convert MBR to GPT without losing data. Before starting, make sure the MBR disk that you want to convert is data disk or system disk, because the method is different.
To data only disk, it is extremely easy to convert MBR to GPT in Windows Server 2012 (R2), only several clicks are needed.
Watch the video how to convert MBR disk to GPT in Windows Server 2012:
There are some 3rd-part software that can convert MBR to GPT on Windows Server 2012, but few can ensure 100% system bootable. If you want to convert a MBR system disk to GPT, it is suggested to run MBR2GPT which is provided by Microsoft.
MBR2GPT.exe is running from command prompt. On Windows Server 2019 and Windows 10 (1703 and later versions), you can convert MBR to GPT with this command in Windows. But to run mbr2gpt on Server 2012, you need bootable media with Windows Preinstallation Environment (Windows PE).
To convert with MBR2GPT command, your disk partition should meet for the requirements, otherwise, the conversion can't be successful. So before downloading this tool, check the disk prerequisites:
In general, you just need to pay attention to number 3, 5 and 8.
Before any change to the disk is made, MBR2GPT validates the layout and geometry of the selected disk, if any of these checks fails, the conversion will not proceed and an error message will be returned.
"Validating layout, disk sector size is: 512 bytes Disk layout validating failed for disk 0", "MBR2GPT: Conversion failed". This is the most common error message while converting MBR disk to GPT. If you received such error, check your disk partition configuration again.
In most of Windows 2012 server system disk, there are System Reserved, C: (for OS) and D drive. If all these partitions are Primary, you can convert this disk successfully.
Note: If there are more than 3 partitions, or even one Logical partition, or any non-support partition such as EXT2/3 in the disk, you can't convert MBR disk to GPT in Windows Server 2012.
For Windows to remain bootable after the conversion, an EFI system partition (ESP) must be in place. MBR2GPT will shrink the System Reserved partition first. If there is not enough free space in it, MBR2GPT will shrank the OS C drive. In that case, the EFI partition will be created on the right side of C drive, which causes serious issue, for example: C drive cannot be extended forever by either Windows native or 3rd-party software.
As you see, 100MB EFI system partition is created behind C drive after converting Disk 0 to GPT. When right clicking it, all options are grayed out.
Download NIUBI Partition Editor and follow the method in the video to expand the System Reserved partition (it's enough to 1GB):
After expanding the System Reserved partition, there is plenty of free space, MBR2GPT will shrink this partition to create EFI partition on the left side of C drive. Now everything is ready.
Steps to convert mbr to gpt on Windows Server 2012 (R2):
Step 1: Download Windows Server 2019 ISO and create bootable DVD disc or USB flash drive with Windows built-in or third-party tool.
Step 2: Boot from this bootable media, simply click Next in first Windows Setup window, then click Repair your computer on bottom left corner of next window.
Step 3: Click Troubleshoot in next window, then click Command Prompt.
Step 4: Just input 2 commands to complete converting.
As you see, the command window reports conversion completed successfully.
Restart server and boot to UEFI, as you see, disk 0 is converted to GPT and the EFI system partition is created on left side of C drive.
Besides converting MBR to GPT for Server 2012, NIUBI Partition Editor helps you convert partition between Primary and Logical, convert NTFS to FAT32 without losing data. It also helps you shrink, extend, move, merge, copy, wipe partition and much more.