VMWare for Windows and Other Appliances
From Knowledge76
Contents |
Overview
This How To is for any user who wants to install another operating system (including Windows) using VMWare. VMWare Player is excellent virtualization software which allows you to run another PC within your PC. It is an easy way to run another operating system without dual booting. The other operating system will function almost exactly as it would if it were on another PC ... you can install and run software as if it were its own computer.
Tested on Dapper.
Installing VMWare Player
Prerequisites for VMWare Player
- sudo apt-get install build-essential
- sudo apt-get install gcc-3.4
- sudo apt-get install g++-3.4
- uname -r
- sudo apt-get install linux-headers-<result of uname-r>
- download to your Desktop/ the tar VMWare Player [1]
- download to your Desktop/ the VMWare any-any update [2]
Install the VMWare Player
- cd /home/<username>/Desktop
- tar xvzf VMware-player-1.0.0-xxxxx.tar.gz
- cd vmware-player-distrib/
- export CC=/usr/bin/gcc-3.4
- ./vmware-install.pl
answer the default to all questions until you get to run vmware-config.pl ... enter no ... the installation will exit
- cd ..
- tar xvzf vmware-any-any-update101.tar.gz
- cd vmware-any-any-update101/
- export CC=/usr/bin/gcc-3.4
- ./runme.pl
answer any additional questions with the default
VMWare player is now installed! Applications >> System Tools >> VMWare Player
Adding Appliances
Download Appliances from VMWare
VMWare's website offer many appliances including many Linux distros for download [3]
Adding Windows XP Pro
Prerequisites
- Windows XP Pro Full or OEM edition CD (not Upgrade)
- XP registration key
- sudo apt-get install gnomebaker
- sudo apt-get install wine
- download the windows version of qemu [4]
Creation
- sudo mkdir /home/<username>/vmware/WindowsXPPro/
- mv /home/<username>/Desktop/QemuInstall-0.7.2.exe /home/<username>/vmware/WindowsXPPro/
- cd /home/<username>/vmware/WindowsXPPro/
- sudo wine qemu-img.exe create -f vmdk WindowsXPPro.vmdk 2G Formating 'WindowsXPPro.vmdk', fmt=vmdk, size=2097152 kB
this created a 2G virtual windows drive (make it larger if necessary for you cannot change this once it has run)
- sudo gedit WindowsXPPro.vmx
insert and save the following:
#!/usr/bin/vmware config.version = "8" virtualHW.version = "3" ide0:0.present = "TRUE" ide0:0.filename = "WindowsXPPro.vmdk" memsize = "780" MemAllowAutoScaleDown = "FALSE" ide1:0.present = "TRUE" ide1:0.fileName = "WindowsXPPro.iso" ide1:0.deviceType = "cdrom-image" ide1:0.autodetect = "TRUE" floppy0.startConnected = "False" ethernet0.present = "TRUE" usb.present = "TRUE" sound.present = "TRUE" sound.virtualDev = "es1371" displayName = "Windows XP Pro" guestOS = "winxppro" nvram = "WindowsXPPro.nvram" MemTrimRate = "-1" ide0:0.redo = "" ethernet0.addressType = "generated" uuid.location = "56 4d 31 be d5 54 05 c4-d2 54 93 82 04 10 59 ea" uuid.bios = "56 4d 31 be d5 54 05 c4-d2 54 93 82 04 10 59 ea" ethernet0.generatedAddress = "00:0c:29:10:59:ea" ethernet0.generatedAddressOffset = "0" tools.syncTime = "TRUE" ide1:0.startConnected = "TRUE" uuid.action = "create" checkpoint.vmState = "WindowsXPPro.vmss" tools.remindInstall = "TRUE" ide1:0.autodetect = "TRUE" usb.autoConnect.device0 = ""
- create an .iso of your Windows XP Pro disk
- open GnomeBaker
- select Copy Data CD >> Select ISO only >> Name it WindowsXPPro.iso and save it in /home/<username>/vmware/WindowsXPPro/

