RHochstenbach
Administrator
I've noticed that people are installing Linux distributions in virtual machines. Especially the virtualization products of VMware are popular. The most installed distribution in VMware seems to be Ubuntu, as this one of the most user friendly Linux environments available. After installing it, you need to install VMware Tools, as these contain the drivers for the virtual machine. This can be challenging to new users, so I'll write a tutorial for Ubuntu 9.10. It should also work with other versions and distributions.
1. From the menu 'Virtual Machine' in any VMware product, choose 'Install VMware Tools'.
2. A CD icon should now appear on your Ubuntu desktop. Open it if it doesn't do this by itself.
3. There should be two files. A manifest.txt and an archive. Open the archive.
4. Extract the folder 'vmware-tools-distrib' to your home folder. If your username is 'john', you should extract it to the folder 'john' (/home/john).
5. Open a Terminal window.
6. Now enter the following lines. Pressing the ENTER/Return key after each line:
First we go to the 'vmware-tools-distrib'-folder that you've extracted.
Now we'll load the installation program with Root privileges.
You should be asked to enter the root password. In Ubuntu this is the same password as you used during the installation.
7. The installation program is now going to ask questions. Press the ENTER/Return key at each line to accept the default answers. Meanwhile the drivers are getting built. You'll see all kinds of rubbish text showing up on the screen. Just let it do everything for you.
8. At the end of the process when the installation is finished, enter the following 4 lines in the Terminal:
That's it! Now you can change the screen resolution and enjoy your virtual Ubuntu installation :)
Fixing build errors
If you're getting error messages about not finding kernel headers or the GCC compiler, then enter the following line in the Terminal:
When you're attempting to install VMware Tools on a different Linux Distribution, then the above command might be required in order to install VMware Tools in the first place.
Good luck :)
1. From the menu 'Virtual Machine' in any VMware product, choose 'Install VMware Tools'.
2. A CD icon should now appear on your Ubuntu desktop. Open it if it doesn't do this by itself.
3. There should be two files. A manifest.txt and an archive. Open the archive.
4. Extract the folder 'vmware-tools-distrib' to your home folder. If your username is 'john', you should extract it to the folder 'john' (/home/john).
5. Open a Terminal window.
6. Now enter the following lines. Pressing the ENTER/Return key after each line:
First we go to the 'vmware-tools-distrib'-folder that you've extracted.
Code:
cd ~/vmware-tools-distrib
Code:
sudo ./vmware-install.pl
7. The installation program is now going to ask questions. Press the ENTER/Return key at each line to accept the default answers. Meanwhile the drivers are getting built. You'll see all kinds of rubbish text showing up on the screen. Just let it do everything for you.
8. At the end of the process when the installation is finished, enter the following 4 lines in the Terminal:
Code:
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start
That's it! Now you can change the screen resolution and enjoy your virtual Ubuntu installation :)
Fixing build errors
If you're getting error messages about not finding kernel headers or the GCC compiler, then enter the following line in the Terminal:
Code:
sudo apt-get install gcc build-essential
When you're attempting to install VMware Tools on a different Linux Distribution, then the above command might be required in order to install VMware Tools in the first place.
Good luck :)