Skip to content

Instantly share code, notes, and snippets.

@ChaosData
Created April 11, 2016 16:37
Show Gist options
  • Save ChaosData/78c4be897eb3e1acc73ebd87c0fbf07d to your computer and use it in GitHub Desktop.
Save ChaosData/78c4be897eb3e1acc73ebd87c0fbf07d to your computer and use it in GitHub Desktop.
fix vmware shared folders in ubuntu 16.04
#!/bin/sh
sudo apt-get install open-vm-tools-desktop git build-essential
git clone https://github.com/vmware/open-vm-tools.git
cd open-vm-tools/open-vm-tools/
sudo apt-get install autoconf libtool
autoreconf -i
sudo apt-get install libmspack-dev libglib2.0-dev libprocps4-dev libdumbnet-dev
./configure --without-x --without-pam --without-ssl --without-icu
make MODULES=vmhgfs
sudo insmod modules/linux/vmhgfs/vmhgfs.ko
sudo mkdir /mnt/hgfs
@lenciel
Copy link

lenciel commented Dec 7, 2016

Thanks for the information you put here.

I wonder which release tag are you using to build open-vm-tools? I'm using the latest release Release 10.1.0 from build 4449150 and the Makefile.in seems and other temporary files are no longer in the repository.

@lenciel
Copy link

lenciel commented Dec 7, 2016

I finally make it working but install VMware-tools and patch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment