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.
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. |
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:
diskpart |
Type:
list disk |
Select the disk number that you want to restore to. For example:
select disk 0 |
Clean the selected disk:
clean |
By default, "clean" creates an empty MBR disk. Convert it to GPT:
convert gpt |
Create the EFI partition:
create partition efi size=200 |
Format the EFI partition:
format fs=fat32 |
Create the MSR partition:
create partition msr size=128 |
Exit Diskpart:
exit |
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 problems
You may need to edit the UEFI configuration to tell it to boot into the new GPT hard disk. |