Bruce123 Posted July 20, 2012 Posted July 20, 2012 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. The MS article suggests two ways around this; 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 not surpisingly 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. It doesn't say anything about system boot partitions. The problem with this is whether a BMR backup can be used to restore the server *after* changing the partition table type from GPT to MBR. If the BMR doesn't work, I could be left with no working version of the server (either physical or virtual). Has anyone encounted this problem before? Or any advice? Regards, Bruce.
Bruce123 Posted July 23, 2012 Author Posted July 23, 2012 (edited) Just to follow this up. I did quite bit of research, and it appears that both VMware and Hyper-V have the same issue with virtualizing servers with GPT partitions, basically neither support VMs with GPT paritions (consequently P2V of existing servers with GPT partitions will fail). The reason is that both virtualization environments emulate the older style BIOS in the VM but not the newer UEFI BIOS/architecture (found on newer servers) on which GPT partitions depend. The other problem is that apparently the Windows installation is tied closely to the partition type (e.g drivers etc., configuration), so it's no simple matter of tweaking the partition type in the VHD, as Windows will get confused and won't boot. Someone has produced a free tool which is supposed to allow you get around this (it does a disk2VHD, converts the partition to MBR then attempts make the appropriate changes to the Windows boot/driver to fix the boot problem). However, it's a third party tool and there is no guarantee it will always work. I didn't have time to try it My advice, if you are setting up a new server with 2008 R2 and there is any possibility of the need to convert this to a VM at a future date, then choose MBR rather than GPT. Apparently 2008 R2 defaults to GPT if it detects a UEFI BIOS, so you need to actively change it from GPT to MBR during installation. I don't know what 2012 defaults to. I am surprised this issue hasn't come up more often, but the UEFI BIOS is a fairly recent development and most people are P2V-ing existing (older) servers. Thanks, Bruce. Edited July 23, 2012 by Bruce123
jamester72 Posted October 31, 2012 Posted October 31, 2012 Thanks for posting, I've encountered the exact issue and was racking my brains for a reason. I have a way forward now. Nice One.
Clickx3 Posted November 24, 2014 Posted November 24, 2014 I figure it out! It took about 8 hours but I got it to work. I decided to make a You Tube video to save you all the time. It's about ten minutes long and it shows how to fix the dreaded blinking cursor and the error about having the wrong version of Windows when you try to repair it. https://www.youtube.com/edit?o=U&video_id=DDaSFRAviq4 Let me know if it helps.
agbloomfield Posted December 2, 2014 Posted December 2, 2014 If there's any chance you could post a quick summary of the steps, I'm trying to save a (failing) physical server by migrating the image off to a Virtual Host. I'm in Death Valley, though, with satellite internet and the YouTube video simply won't play. It would be a lifesaver. Thanks!
Arthur Posted December 2, 2014 Posted December 2, 2014 (edited) the YouTube video simply won't play. @Clickx3 posted the wrong link. Here's the actual video. Edited December 2, 2014 by Arthur
agbloomfield Posted December 2, 2014 Posted December 2, 2014 Actually, I meant that I didn't have adequate bandwidth to play any video (regardless of the link's correctness). Sorry for the ambiguity. Hoping for any ideas the group can provide.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now