Installing VMware
Contents |
Installing VMware
Before installing VMware do the following:
pisi it kernel-source
pisi it gcc
pisi it make
mkdir /etc/rc{0..6}.d
ln -s /bin/lsmod /sbin/lsmod
cd to the wmware-distrib directory, execute ./vmware-install.pl and give default answers for all the installer's questions.
This will become a new installation manual for VMware-Player
THIS IS STILL EXPERIMENTAL
This manual is tested on VMware-Player-2.5.2-156735.i386.bundle and VMware-Workstation-6.5.2-156735.i386.bundle. Change the applicable commands for other versions.
Download
Go to http://www.vmware.com/products/player/ and download (at this moment)VMware-Player-2.5.2-156735.i386.bundle and to add the Guest_OS utility's we also need VMware-Workstation-6.5.2-156735.i386.bundle.
VMware-Player is free of charge. You have to supply an email address in order to download. As we only use VMware-Workstation to extract the Guest_OS utilities you don't need a payed license-key for VMware-Workstation.
Installation
- Open a Konsole and install/check the required packages
sudo pisi it kernel-source gcc make
- Create the required directories
sudo mkdir /etc/rc{0..6}.d - Go to the downloaded VMware-Player file (default=)
cd Desktop/
- Start installation
sudo sh VMware-Player-2.5.2-156735.i386.bundle
- Open a Konsole and install/check the required packages
VMware Player menu item is available in Pardus > Programs > System.
Modification of VMware-Player executable file
For Pardus it is necessary to modify the VMware-Player executable file in order to get a working network connection for the Guest_OS after a restart of Pardus (Host_OS).
- Open VMware-Player executable file in Kwrite
kdesu kwrite /usr/bin/vmplayer
- Add at line 11 (just before "set -e")
kdesu /etc/init.d/vmware start
- Save and close Kwrite.
- Open VMware-Player executable file in Kwrite
Creating the virtual machine files
VMware-Player needs two files for the Guest_OS. A .vmx file to describe in plain text the properties of the guest and a .vmdk file for the data. This .vmdk file will increase in size (> ?GB) after installation of the Guest_OS.
The easiest way to create these files is to use the "Virtual Machine Creator" of http://www.easyvmx.com/
VMWare Tools
To improve the graphic properties, mouse capture and more of the Guest_OS we need to install VMWare Tools on the Guest.
Extracting VMWare Tools files on the Host_OS
- Open a Konsole and create a directory to extract VMware-Workstation
mkdir /tmp/vmware_tools
- Go to the downloaded VMware-Workstation file (default=)
cd Desktop/
- Extract the VMware Workstation bundle. Note that the extracted contents is ~ 580M.
sudo /usr/lib/vmware/installer/vmware-installer --install-bundle VMware-Workstation-6.5.2-156735.i386.bundle --extract /tmp/vmware
- Open a Konsole and create a directory to extract VMware-Workstation
Mounting VMWare Tools files on the Host_OS
- Mount the .iso file as a loopback file system
mkdir /tmp/vmware_tools
sudo mount -o loop /tmp/vmware/vmware-workstation/lib/isoimages/linux.iso /tmp/vmware_tools
sudo mount -o loop /tmp/vmware/vmware-workstation/lib/isoimages/windows.iso /tmp/vmware_tools
- Mount the .iso file as a loopback file system