Archive for March, 2011

Could not create the ‘/mnt/hgfs’ directory. Install hgfs and vmware-tools on debian linux.

Monday, March 21st, 2011

Error:

Could not create the '/mnt/hgfs' directory.
The filesystem driver (vmhgfs module) is used only for the shared folder feature. The rest of the software provided by VMware Tools is designed to work independently of this feature. If you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Solution:

aptitude install gcc-4.3 linux-headers-`uname -r` -y
tar xzf VMwareTools-8.1.3-203739.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl -d
./bin/vmware-config-tools.pl -d