Thursday, August 9, 2012

VMWare Converter: Converted VM fails to Boot

Recently, I performed a P2V of a Windows 7 laptop.  The destination was an ESX 4.1 host.  Per best practices,  I installed VMware Converter 5.0 within the source machine.  I used the Convert Machine wizard, and took the defaults to minimize the complexity of the conversion.  The conversion completed successfully. 

However, upon start up, I was "greeted" with a Blue Screen and later the following option:


I chose the repair option and patiently waited over an hour...

Upon closer inspection, I noticed the boot disk was setup for IDE.  The disk must be converted from IDE to SCSI for best performance.  In addition, the VM may fail to boot because the guest OS does not support the driver.  I ssh'd into the ESX host and used vi to open up the VMs .vmdk file.  I then changed the adapter from IDE to lsilogic by changing the following:

ddb.geometry.sectors = "63"
ddb.adapterType = "ide"
ddb.geometry.biosCylinders = "19457"
 
TO...

ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"
ddb.geometry.biosCylinders = "19457"
 
I then removed the Hard disk (IDE (0:0)) from the virtual machine. (DO NOT Delete the disk)  I then added the Hard Disk back in using SCSI (0:0).   The LSI Logic SAS controller was added automatically.


After that change, the VM came up fine.  I just had to perform the usual post p2v clean up.

The CD-Rom complained about the IDE config being incorrect, but a quick Remove and Re-add took care of that.

No comments:

Post a Comment