Physical-to-VM Conversion causes Blue Screen loop on Dell comptuers
I encountered this problem today when I tried to convert 2 Dell PCs into VMware virtual machines. The conversion run fine without any errors at all, but the new VMs won't boot up properly. I'd get the Windows 7 blue-screen-of-death saying something about disks being changed (too fast to read through), followed by a reboot and back to the blue screen again.
The source machines were both Dell Optiplex 990 PCs and upon checking the settings, I quickly noticed that the hard disks on the VMs are IDEs. I'm certain that my Dells have SATA, so I knew exactly where the problem was. I remember seeing this same problem with physical machines when SATA was new. Windows would crash if you changed to SATA drives and don't update the BIOS setting to "compatibility mode."
The thing that would've prevented this from happening was if I set the correct controller type on the VMWare Converter wizard. Instead, I went with all the default options and VMWare uses IDE if there's no controller type selected.
Now, short of re-converting (which takes hours), I found this neat trick to change the IDE harddisk into SCSI. Here are the steps:
Once this is completed, my VMs booted smoothly to Windows 7. All I had to do next was install VMWare Tools.
The source machines were both Dell Optiplex 990 PCs and upon checking the settings, I quickly noticed that the hard disks on the VMs are IDEs. I'm certain that my Dells have SATA, so I knew exactly where the problem was. I remember seeing this same problem with physical machines when SATA was new. Windows would crash if you changed to SATA drives and don't update the BIOS setting to "compatibility mode."
The thing that would've prevented this from happening was if I set the correct controller type on the VMWare Converter wizard. Instead, I went with all the default options and VMWare uses IDE if there's no controller type selected.
Now, short of re-converting (which takes hours), I found this neat trick to change the IDE harddisk into SCSI. Here are the steps:
- SSH into the VM host
- go the the folder there the vmdk file is hosted.
# cd /vmfs/volumes/{datastore name}/{VM name}
Tip: if the either the datastore of VM name has a space, you can enclose the name inside double-quote (ie, "My VM 1") - Edit the vmdk file: #vi filename.vmdk
- Look for the line that says ddb.adapterType = "ide"
- Change that to ddb.adapterType = "lsilogic"
- Save the file by pressing Esc then :wq
- Exit the SSH session
- Open up VMSphere Client and edit the Settings of the VM
- Select the IDE Hard Disk and click Remove. On the options, make sure the first one (Remove from virtual machine) is selected. DO NOT choose delete files from disk.
- Click OK to save the changes
- Once completed, go back to Edit Settings
- Add a new Hard Disk, select "Use an existing virtual disk", then click Next
- Browse and select the VMDK file that you just edited, click Next
- On the Virtual Device Node, make sure it says "SCSI (0:0)" then click Next
- It will add a new SCSI disk and controller to your VM
- Click OK to save the settings
Once this is completed, my VMs booted smoothly to Windows 7. All I had to do next was install VMWare Tools.
Comments
Post a Comment