- Is My Operating System Disk MBR or GPT?
- Restoring an MBR System Image to a GPT Disk
- Prepare the Destination Disk
- Restore the MBR System Image to the GPT Disk
- Run 'Fix Windows Boot Problems'
What are MBR and GPT?
Master Boot Record (MBR) and GUID Partition Table (GPT), are two different ways of storing partition and boot information on a disk and are closely coupled with the two different types of computer firmware: BIOS and UEFI.
BIOS, and by extension MBR disks, are now considered legacy and have largely been replaced by UEFI firmware and GPT disks. GPT disks, the newer of the two partitioning schemes, have several advantages over MBR disks. MBR disks are limited to having 4 primary partitions with a maximum disk size of 2.2TB, whereas GPT disks have a maximum number of 128 partitions with a theoretical maximum disk size of 18 EB (Exabytes). As a result, there are several cases where an operating system that is stored on an MBR disk needs to be restored to a GPT disk.
From Windows 11, UEFI firmware and GPT disks are required.
Is My Operating System Disk MBR or GPT?
The easiest way to tell whether an operating system disk is located on an MBR or GPT is to check the 'Create Backups' tab in Macrium Reflect or the Macrium Reflect rescue media.
First, determine which disk is the operating system disk; this is a disk that contains system partitions, partitions that are required by the operating system to boot and function correctly. System partitions are denoted by the Windows icon shown on the partition:
System Partition:
Non-System Partition:
Above the disk will be shown Disk X MBR or GPT, indicating the partition scheme that is being used for the disk:
GPT Initialized Disk:
MBR Initialized Disk:
Restoring an MBR System Image to a GPT Disk
First, boot the system, where the restore will take place, with the Macrium Reflect rescue media. This article contains more information about creating the rescue media.
For the MBR to GPT system image restore to take place, the rescue media should be booted in EFI mode. We recommend contacting the system or motherboard manufacturer for further assistance with changing boot modes.
To check that the rescue media has been booted in the correct mode, look at the top bezel within the rescue media. If the rescue media has been EFI booted, '[UEFI]' will be shown, similar to the example below:
Prepare the Destination Disk
Next, the target disk should be prepared. This is done using the command-line diskpart utility. First, launch the command prompt using the command prompt icon on the rescue media taskbar:
In the window that opens, type 'diskpart' then press the 'Enter' key:
diskpart
In diskpart, you can view the disks that are connected to the system using the 'list disk' command.
list disk
This will return a list of the disks that are currently connected to the system, similar to the example below:
The disk numbers that are shown in diskpart are offset by 1 compared to the disk numbers as shown in Macrium Reflect.
Disk 0 in diskpart is Disk 1 in Macrium Reflect.
We strongly recommend ensuring that you have the correct disk selected for subsequent steps, selecting an incorrect disk may result in data loss.
Select the destination disk for the MBR to GPT restore using the 'select disk X' command, replacing X with the relevant disk number:
select disk 0
Remove any existing partitions and data from the disk with the clean command:
clean
Next, initialize the disk with the GPT partition scheme:
convert gpt
The GPT disk requires an EFI system partition. This can be created with the command below:
create partition efi size=200
Next, format the EFI partition as FAT32:
format fs=fat32
Next, create the MSR system partition:
create partition msr size=128
Following this command, the disk is ready for the MBR to GPT restore. The command prompt should look similar to the example below:
Viewing the disk on the 'Create Backups' tab should look similar to the example below:
If the disk is still showing the old partition layout, select 'Refresh' on the 'Create Backups' tab to force the disks to be updated:
Restore the MBR System Image to the GPT Disk
Now that the disk has been correctly prepared, the MBR system image can be restored to the GPT disk. To do this, select the 'Existing Backups' tab, then select the 'Image' tab. If the MBR system image that will be restored is not shown in this tab, use 'Browse for an image file...' to open an Explorer window and select the image manually:
Next, select the image file that will be restored, then select 'Restore':
In the window that opens, click 'Select a disk to restore to...' and select the GPT disk that was prepared earlier:
Drag and drop the partitions from the source image to the destination disk, but do not copy the MSR (System Reserved) from the source disk:
Once partitions have been placed on the destination disk, they can be resized and floated as necessary to enable all partitions from the source disk to be copied and ensure that all unpartitioned space on the destination disk has been used. This article contains more information about modifying the partition properties while restoring. Once the partitions have been copied to the destination, select 'Next >' to proceed with the wizard.
The final page of the wizard contains a summary of the restore that is about to take place. Once the summary has been reviewed, select 'Finish' to start the restore.
During the restore, use the dropdown box next to 'After Restore' to change the post restore behavior to 'Not Set':
This will ensure that the system does not attempt to boot back into the restore operating system, making the next step easier.
Run 'Fix Windows Boot Problems'
Once the restore has been completed, run 'Fix Windows boot problems' on the 'Existing Backups' tab to create the new EFI boot configuration data:
This article contains more information about running 'Fix Windows boot problems'.
Once 'Fix Windows boot problems' has completed, restart the system and boot into the restore operating system.