P2V Migrations with GPT-Based Windows Servers
March 8, 2013 1 Comment
VMware Converter is a fantastic, free tool for performing P2V migrations. It does, however, have its limitations. One of them is being unable to convert GPT based disks. Most admins have no idea that they have built a GPT based disk. That’s due to Windows 2008 R2 detecting a UEFI firmware (which most servers built in the last 3-5 years have and enable by default) and creates a GPT disk without any options to change that. It’s not something that affects normal applications from running, so most admins don’t even think about whether their disk is GPT or MBR based.
If you run the VMware Converter against a GPT based disk, you’ll receive an error about EFI firmware not being supported. Here’s how to P2V a GPT based Windows server (for free!). What we’re doing is taking a cold image based backup of the physical server and restoring it into a VM. To do this, we’ll use a free and open source tool called Clonezilla. While you could power up the physical server while you get the VM built, it’s best to keep the physical server offline until you bring the VM up. This will prevent data changes between when you take the image and when you restore it.
- Run Clonezilla against the physical box and image the server to an ISO
- Create a VM with the production name of the server
- Make sure the VM’s disk is the same size or bigger as the physical server’s disk
- Boot the VM from the ISO
- Restore the image from the samba_server option
- The following steps came from Andrew Cohon at Andrew’s Cheap Thrills
- If you get a STOP 0x0000007B error, follow these steps:
- Mount the Server 2008 R2 DVD to the VM and boot to it.
- At the first screen (Language Selection), hit Shift-F10 for a command prompt.
- Run Regedit.
- Load the system hive from the VM’s disk:
- Highlight HKEY_LOCAL_MACHINE
- File > Load Hive
- Select < c: > \Windows\System32\config\system
- Name it something like “asdf”
- If you get a STOP 0x0000007B error, follow these steps:
- Expand HKEY_LOCAL_MACHINE\asdf\ControlSet1\Services\LSI_SAS
- Change the data for value “Start” from “3″ to “0″.
- File > Unload Hive.
- Exit regedit.
- Reboot the VM.
- Install the VMware tools.
- Remove the old network adapter
- Open a command prompt and type the following
- set devmgr_show_nonpresent_devices=1 (hit enter)
- start devmgmt.msc (hit enter)
- Go to the View menu and click “Show Hidden Devices”
- Go into Network Adapters and remove the greyed out adapters
- Open a command prompt and type the following
- Put the production IP on the VM’s NIC.
Hope this helps someone out!






















