- While your VM is running, in your host environment select Virtual Machine > Install VMware Tools (or Virtual Machine > Reinstall VMware Tools).
- Make sure you have the build-essentials and linux-headers packages installed
sudo apt-get install build-essential
*chances are, the linux-headers are already installed, but just in case
sudo apt-get install linux-headers-`uname -r`
- Choose Virtual Machine > Reinstall VMWare Tools and click Install to load the VMWare Tools virtual cd-rom.
- Now, mount the cdrom to the file system:
- Extract the VMware Tools to the /tmp/ directory. Note that the x.x.x-xxxx should be replaced with the version numbers on the actual file:
tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/
- Change directories to the /tmp/ directory and run the vmware-install.pl script:
cd /tmp/vmware-tools-distrib/
*The -d modifier in the last command above tells the installer that you want to accept all of the defaults. If you want to supply your own answers to the installer, do not use this modifier.
sudo ./vmware-install.pl -d
- Reboot Ubuntu:
sudo reboot
- When the Ubuntu boots back up, look in the /mnt/hgfs folder and your shared folders should be there:
ls /mnt/hgfs
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
Disclaimer: I tested this using Mac OS X 10.8.3 Mountain Lion as the host operating system and Ubuntu 12.04 Server LTS 64-bit as the guest operating system using VMware Fusion v5.0.3.
No comments:
Post a Comment