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 and later is dual boot, meaning it boots 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 language text theme FadeToGrey diskpart
Type:
Code Block language text theme FadeToGrey list disk
Select the disk number that you want to restore to. For example:
Code Block language text theme FadeToGrey select disk 0
Clean the selected disk:
Code Block language text theme FadeToGrey clean
By default, "clean" creates an empty MBR disk. Convert it to GPT:
Code Block language text theme FadeToGrey convert gpt
Create the EFI partition:
Code Block language text theme FadeToGrey create partition efi size=200
Format the EFI partition:
Code Block language text theme FadeToGrey format fs=fat32
Create the MSR partition:
Code Block language text theme FadeToGrey create partition msr size=128
Exit Diskpart:
Code Block language text theme FadeToGrey exit
- In Macrium Reflect, click Create Backups tab.
- Click Refresh to read the newly initialized disk.
- Click the Existing Backups tab.
- Select the image file and select the Restore icon, 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.