Skip to content

Instantly share code, notes, and snippets.

@jpwatts
Created April 25, 2009 15:59
Show Gist options
  • Save jpwatts/101672 to your computer and use it in GitHub Desktop.
Save jpwatts/101672 to your computer and use it in GitHub Desktop.
# I tested these instructions on Ubuntu 9.04 Server 64-bit running on
# VMware Fusion 2.0.4.
# I'm assuming you're doing this all from $HOME.
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get install build-essential curl
# Either (Ubuntu 9.04 Server)
$ sudo apt-get install linux-headers-server
# Or (Ubuntu 9.04 Desktop)
$ sudo apt-get install linux-headers
In VMware: Virtual Machine > Install VMware Tools
$ mount /dev/cdrom
$ tar xzvf /cdrom/VMwareTools-7.9.3-159196.tar.gz
$ cd vmware-tools-distrib/lib/modules/source
$ tar xvf vmhgfs.tar
# via http://backtrack4.blogspot.com/2009/04/getting-vmware-tools-vmhgfs-working-on.html
$ curl -o vmhgfs.patch http://bugs.gentoo.org/attachment.cgi?id=180008
$ cd vmhgfs-only
$ patch -p3 < ../vmhgfs.patch
$ cd ..
$ mv vmhgfs.tar vmhgfs-unpatched.tar
$ tar cvf vmhgfs.tar vmhgfs-only
$ cd ~/vmware-tools-distrib
$ sudo ./vmware-install.pl
In VMware: Virtual Machine > Settings > Sharing > Share folders on your Mac
$ sudo shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment