Jun
7
Installing VMware Tools on virtualized guests gives you a much more enjoyable experience within your virtual environment. Screen resolution, mouse behaviour, etc will be improved for your virtual sessions after installing these additional tools. Installing these tools within Ubuntu 8.04 virtualized guests is fairly simple, just follow along below.
Installing VMware Tools
The first requirement, of course, is that you have Ubuntu 8.04 installed within VMware Server and that Ubuntu 8.04 is running.
Once you’ve got your Ubuntu 8.04 guest logged in, navigate to the “VM” menu option (File, Edit, View… VM) and select “Install VMware Tools”. This will notify you once again that your guest must be logged in. If that is the case, click “Install”.
note: The next step in the process may be simpler if you make sure any other CD images are unmounted before continuing.
This part of the process mounts a virtual CD image with the VMware Tools contained on it. To find these tools for installation navigate to Places > Computer > CD Drive. You should find these two files listed there:
VMwareTools-*.rpm
VMwareTools-.tar.gz
For Ubuntu guest installations we’ll want to use the .tar.gz file. Now we have access to the needed file, the next part of the process is opening the archive and installing the tools.
Below I’ve put together a copy-paste list of commands you should be able to use to unpack and setup VMware Tools on your Ubuntu 8.04 guest. All of these commands happen within the Ubuntu 8.04 Guest machine:
sudo aptitude install build-essential linux-headers-generic
cp /media/cdrom/VMwareTools-*.tar.gz /tmp/
cd /tmp/
tar xf VMwareTools-*.tar.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
You should be able to safely select the defaults for most of the questions. You might want to pay attention at the step where it asks for your preferred available resolution and set that properly. For the new VMware Tools to be available once this process is done you’ll need to reboot your Ubuntu 8.04 guest. Enjoy.
I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.
Related Posts
Other Points of Interest
-->Comments
7 Responses to “How To Install VMware Tools on Ubuntu 8.04 Guests”
Leave a Reply
Thanks for the tutorial, it was a big help.
Hi,
I’m trying this with Ubuntu 8.04 server.
I get The path “/usr/src/linux/include” is not an existing directory.
any ideas ?
Yes, Thanks so much for this web page. It was clear and best of all, it worked perfectly!
(on my Mac OS 10.5.4 & VMware v1.1.3)
Why doesn’t VMWare have this information? I hope they pay you for your support of their customers!
I struggled with the instructions when needing to copy the tar file after clicking Install VMWare Tools. Turns out that VMWare wasn’t actually mounting the CD. So I added: mount /dev/cdrom mnt/cdrom and voila, I could finally find the tarball.
This guide worked fine to enable the screen drivers and enhanced mouse support, thanks. However it failed to compile the filesystem driver (vmhgfs module). What else would I need to do to achieve this?
Exactly the same for me. Impossible to get these drivers working.
vmhgfs doesn’t work, meaning that I can’t share files between my host system and Ubuntu.
The other bad thing: the driver for memory doesn’t work.
Any guess ?
ok, for those of you installing vmware tools in Ubuntu 8.04.1 LTS Server edition, the apt-get command should read:
apt-get install build-essential linux-headers-2.6.24-16-server
Then you need to do the following before the vmware tools install/config:
cd /usr/src
ln -s linux-headers-2.6.24-19-server linux
This will then allow tools to install correctly.