Knowledgebase

How to Restore an MBR System image to UEFI/GPT

Expand / Collapse
 

How to Restore an MBR System image to UEFI/GPT



This article explains how to restore an image of an MBR system disk to a GPT disk that supports the newer UEFI booting standard.

Background
UEFI (the Unified Extensible Firmware Interface) is an interface between a computer's firmware and operating system. It is designed as a replacement for BIOS (Basic Input/Output System). UEFI supports hard disks with either MBR (master boot record) or the newer GPT (GUID Partition Table) system. GPT is a newer standard, that supports disks larger than 2TiB and allows for more than four primary partitions per disk.

As UEFI and GPT become more widespread, older images of MBR disks will often need to be restored to replacement UEFI / GPT systems.

This article assumes that, apart from the type of disk, there are no other hardware differences between the system being imaged and the system being restored to. For dissimilar hardware, Redeploy may be needed.


To prepare a GPT disk to boot in UEFI

  1. Boot into Windows PE.
    Please see here for more information on Windows PE and the Macrium Reflect rescue Environment: Understanding Rescue CDs and the Macrium rescue environment

    Rescue media created with v5.2.6249 or later on Windows 7/8 operating systems will be dual boot. That is, they will boot in both MBR and UEFI mode.
    Please boot your rescue media in UEFI mode. Consult your Motherboard user manual for information on how to do this.
  2. Open a Windows command window, and type:
    diskpart

    Note: To open a command window click the icon  on the taskbar. 

  3. List the disks:
    list disk
  4. Select the disk number that you want to restore to. For example:
    select disk 0
  5. Clean the selected disk:
    clean
  6. By default, "clean" creates an empty MBR disk. Convert it to GPT:
    convert gpt
  7. Create the EFI partition:
    create partition efi size=200
  8. Format the EFI partition:
    format fs=fat32
  9. Create the MSR partition:
    create partition msr size=128
  10. Exit Diskpart:
    exit



To restore an image to the GPT disk, ready to boot in UEFI

  1. In Macrium Reflect, click the Backup tab and then click Refresh to read the newly initialized disk.


  2. Click the Restore tab, select the image file, drag and drop the imaged partitions but DO NOT restore the MSR partition from the image file. In the example below only the C partition was restored to the target disk.


  3. Once the restore has completed you'll need to configure the UEFI boot files in the EFI system partition. 

    Follow the steps in the section "Fix Boot problems for GPT/UEFI Boot Systems" in the following KB article:
    How to fix Windows boot problems

Note: You may need to edit the UEFI configuration to tell it to boot into the new GPT hard disk.


Search terms
tag:restore
tag:image
Convert MBR To GPT
Convert MBR
Details
Last Modified:16 Dec 2013

Last Modified By: Administrator

Type: Tutorial

Article not rated yet.

Article has been viewed 23,786 times.

Options