Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

As discussed elsewhere, Windows Server 2008/R2 will automatically use the EFI boot loader when installed on EFI systems, and will also automatically use the GPT partitioning scheme on such systems. And you can't do anything at all about this (other than force the system to switch to BIOS, if this is supported).

But, as documented here, VMware Converter is not going to convert GPT disks. Which is actually quite suprising, when considering that it supports EFI systems and they in turn use GPT disks... but that's it.

So, how to perform a P2V conversion on EFI/GPT Windows servers?

share|improve this question

4 Answers 4

up vote 7 down vote accepted

This is probably too late to be of any use to Massimo, but i thought i would mention that i managed to get this to work, admittedly through a somewhat forced procedure:

  • Enable the LSI Logic SAS driver on the original server
  • Copy the raw drive via dd from a Linux live CD
  • Convert the GPT to a hybrid MBR/GPT using GPT fdisk
  • Boot the VM from the Windows DVD
  • Reload the MBR, boot block, and Windows boot directory using bootrec.exe and startrep.exe.
  • Boot the Windows VM, add VMware tools, possibly switch to paravirtual NIC & SCSI drivers

Here's my write-up of the process: http://libertysys.com.au/blog/p2v-of-windows-server-2008-from-efi-gpt-to-vmware-mbr

share|improve this answer
    
Welcome to Server Fault! We really do prefer that answers contain content not pointers to content. Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Iain Jul 21 '12 at 6:59
    
OK - i'll have a shot at summarising –  Paul Gear Jul 21 '12 at 7:29
    
Is that the sort of thing you prefer? –  Paul Gear Jul 21 '12 at 7:37
    
Thanks, now we have an answer that would survive your blog going offline. –  Iain Jul 21 '12 at 7:43
    
Fair enough. That has been known to happen. ;-) –  Paul Gear Jul 21 '12 at 7:44

Take a look at this thread, particular the last post by BizCon Alex - http://communities.vmware.com/message/1695451

P2V conversion with EFI/GPT will be a nightmare unless someone comes out with a clean solution.

EDIT: the other option is to use a commercial product such as DoubleTake Move (http://www.visionsolutions.com/Products/DT-Move.aspx). Replicate the VM using their sync tool and 'fail-over' across to the new server.

share|improve this answer

Or if your gpt disks are not system drives (just file shares, etc.) you can just use the 4.3 version of the converter which does not get hung up at that error message and not uncheck the GPT disks from conversion. Then move them over once it is done. In our case the GPT drives were iSCSI drives that reconnected once the server was converted.

share|improve this answer

Just wanted to add another option to this thread: I performed another migration just like this a few weeks ago. This time, i used the following process:

There was no messing around with the MBR, partition table, or boot loaders. It just worked. The only disadvantage of doing it this way over VMware Converter is that it must be done offline rather than on the live server, and copying the whole disk means that thin provisioned disks don't really achieve much. If you're concerned about the latter and you're planning on expanding once you virtualise, create the VM at the original server's size, then expand the drive after the P2V is complete.

I suspect all of this will become pretty irrelevant soon, since surely an EFI-compatible version of converter mustn't be far away given how easy this process was.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.