Howto Convert Vmware Windows XP IDE Disk to LSILogic SCSI
I quite often use my Windows XP VM running under Vmware Server 1.0.5 (Debian Unstable) and because I still don’t have RAID I am forced to try every possible performance optimizations.
Latest and greatest was when successfully converting my 10 GB preallocated IDE disk to LSILogic SCSI following procedure close to this one. (Try it on your risk !)
1.Create LSI Logic disk:
vmware-vdiskmanager -c -s 100mb -a lsilogic -t 0 tempDisk.vmdk
2. Add SCSI definitions in your VMX file:
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "tempDisk.vmdk"
2. Boot the VM and install LSI Logic driver - use WHQL 1.20.18.00 (at least I could not install the latest version)
3. Make backup of the VM Disk !
4. Open the disk definition file (.vmdk). Get from there the disk size (sum of all extents)
# Extent description
RW 20971520 FLAT “WXP-flat.vmdk” 0
Then create another disk
vmware-vdiskmanager.exe -c -s 20971520 -a lsilogic -t 1 anotherTemp.vmdk
This one is only needed so you can get the new geometry and replace it in the original .vmdk
5. Replace old geometry with new from anotherTemp.vmdk. In my case I replaced this
ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "16"
ddb.geometry.cylinders = "16383"
with this
ddb.geometry.cylinders = "1305"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"
6. Update you VMX file so scsi0:0 points to the main disk image. Also you can remove the old IDE definitions.
7. Boot your VM and have fun.
Couple of other performance suggestions:
1. Always defrag your guest operating system disk.
2. Use MemTrimRate = "0"
3. Use scsi0:0.mode = "independent-persistent"
4. Keep your guest operating system as light as possible. Turn off themes, effects, unneeded services etc.
Resources used:
http://sanbarrow.com/ide2scsi.html
http://communities.vmware.com/thread/50084
Tags: ide, lsilogic, scsi, vmware













September 10th, 2008 at 9:35 pm
thanks for a complete procedure. I’ve managed to get this to work when the guest is XP. However, with linux (fedora) as guest, I’m still getting kernel panics. Can you help?
September 11th, 2008 at 10:06 am
After changing it to scsi you probably have to modify your GRUB/LILO, fstab and everywhere it was /dev/hda1 (for example) to /dev/sda1
November 6th, 2008 at 12:43 am
[...] http://hamed.dk/home/53-vm-ide2scsi and http://blog.creonfx.com/linux/howto-convert-vmware-windows-xp-ide-disk-to-lsilogic-scsi. [...]
November 12th, 2008 at 1:12 am
[...] First, credit where credit is due. I gathered all my information from http://hamed.dk/home/53-vm-ide2scsi and http://blog.creonfx.com/linux/howto-convert-vmware-windows-xp-ide-disk-to-lsilogic-scsi. [...]