The Unified Extensible Firmware Interface (UEFI) is an interface between a computer's firmware and operating system. It is designed as a replacement for Basic Input/Output System (BIOS). UEFI supports hard disks with either master boot record (MBR) or the newer GUID Partition Table (GPT) 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 are increasingly widespread, older images of MBR disks often need restoring to replacement UEFI / GPT systems.
Info |
---|
Rescue media created on Windows 7/8 operating systems is dual boot, meaning they boot in both MBR and UEFI mode. Boot your rescue media in UEFI mode. Consult your Motherboard user manual for information on how to do this. |
Info |
---|
Caution: We assume there are no other hardware differences between the system being imaged and the system being restored to. For dissimilar hardware, use ReDeploy. |
Boot into Windows PE.
Open a Windows command window. To open a command window click the icon on the taskbar.
Type:
Code Block theme FadeToGrey language text diskpart
Type:
Code Block theme FadeToGrey language text list disk
Select the disk number that you want to restore to. For example:
Code Block theme FadeToGrey language text select disk 0
Clean the selected disk:
Code Block theme FadeToGrey language text clean
By default, "clean" creates an empty MBR disk. Convert it to GPT:
Code Block theme FadeToGrey language text convert gpt
Create the EFI partition:
Code Block theme FadeToGrey language text create partition efi size=200
Format the EFI partition:
Code Block theme FadeToGrey language text format fs=fat32
Create the MSR partition:
Code Block theme FadeToGrey language text create partition msr size=128
Exit Diskpart:
Code Block theme FadeToGrey language text exit
- In Macrium Reflect, click Backup tab.
- Click Refresh to read the newly initialized disk.
- Click Restore tab.
- Select the image file, drag and drop the imaged partitions but DO NOT restore the MSR partition from the image file. In this example, only the C partition is restored to the target disk.
When the restore is complete, 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:
Fixing Windows boot problemsInfo You may need to edit the UEFI configuration to tell it to boot into the new GPT hard disk.