I have just come to do a P2V of a server setup with a GPT partition table and discovered that the P2V tool on 2008 R2 VMM doesn't support conversion of GPT disks.
MS article suggests two ways around this;
http://blogs.technet.com/b/scvmm/archive/2012/05/15/kb-p2v-fails-with-gpt-partitions-in-system-center-virtual-machine-manager.aspx
1) Use Disk2Vhd.exe tool to create the VHD files, create a new VM, link in the VHD files, then boot to the 2008 R2 DVD to repair it.
I tried this and unsurprisingly it wouldn't boot straight off and it also wouldn't let me use the repair option when booting from the Virtual DVD (something about wrong version of Windows even though it was the correct version).
2) Convert partition table type from GPT to MBR (which wipes all data), then restore the "data" from a backup.
Crucially, it doesn't mention boot/system partitions. In fact, if you just want to convert a drive containing data for the purposes of P2V, you might as well just create the new VHD on the VM and restore the data directly into the VM.
Note that the MS article on requirements on P2V neglects to mention that there are any issue with GPT partitions. Does it need updating?
http://technet.microsoft.com/en-us/library/bb963740.aspx
Has anyone uncounted this issue with GPT disks before? Or have any advice?
Will this other option (I have come up with) work?
Perform a Bare Metal Recovery backup of the system/boot partition, change the disk type to GPT (thereby wiping the OS from the server), then restore the OS from the BMR backup? Will be BMR backup set the partition type back to GPT? If not, will the OS handle the change in partition type?
If it doesn't work, I could be left with no working version of the server (either physical or virtual).
Looking ahead, as newer servers are fitted with EFI motherboards and with 2008 R2 defaulting to GPT if it detects EFI, then this is surely going to be a increasing problem? Does 2012 default to GPT as well?
Are there plans for future versions of Hyper-V VMs to support GPT disks (would presumably need to emulate the EFI type BIOS)? If not, will there be an approved method to P2V servers with GPT partitioned disks?
Regards,
Bruce.
- Edited by Redbruce Monday, July 23, 2012 8:35 AM


