Windows XP Virtual Machine with VMware player on Ubuntu Gutsy

November 22, 2007

Linux is a good operating system but sometimes you could have the necessity of run a particular application that don’t work with wine and is only for Windows XP.
WMware released its virtualization software for free (not opensource): VMware Server and VMware Player.

WMware server could be more complicated for personal use, so you can choose WMware player to run Windows XP on Ubuntu Gutsy.

You have to download and install RPM package from www.vmware.com (then you have to convert it as DEB package)

fakeroot alien -scripts VMware-player-2.0.2-59824.i386.rpm
sudo dpkg -i VMware-player-2.0.2-59824.i386.deb
sudo vmware-config.pl

You have to create a custom Windows XP image for your Virtual Machine, but first you have to install qemu.

sudo apt-get install qemu
qemu-img create -f vmdk WinXP.vmdk 6G

Now you have to create a config file for Disk Image just made with qemu with “nano WinXP.vmx“.

config.version = “8”
virtualHW.version = “3”
ide0:0.present = “TRUE”
ide0:0.filename = “WinXP.vmdk”
memsize = “128”
MemAllowAutoScaleDown = “FALSE”
ide1:0.present = “TRUE”
ide1:0.fileName = “auto detect”
ide1:0.deviceType = “cdrom-raw”
ide1:0.autodetect = “TRUE”
floppy0.present = “FALSE”
ethernet0.present = “TRUE”
usb.present = “TRUE”
sound.present = “TRUE”
sound.virtualDev = “es1371″
displayName = “Windows XP Pro”
guestOS = “winXPPro”
nvram = “WinXP.nvram”
MemTrimRate = “-1″

ide0:0.redo = “”
ethernet0.addressType = “generated”
uuid.location = “56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58″
uuid.bios = “56 4d 5c cc 3d 4a 43 29-55 89 5c 28 1e 7e 06 58″
ethernet0.generatedAddress = “00:0c:29:7e:06:58″
ethernet0.generatedAddressOffset = “0”

tools.syncTime = “TRUE”
ide1:0.startConnected = “TRUE”
uuid.action = “create”
checkpoint.vmState = “”

To make this step more easy you can download WinXP.vmx from here:

Windows XP VMX (VMplayer) Downloads: 8000 times

Related Post