This issue occurs if the GCC and PAE kernels are not up to date in the Linux VM and the hgfs folder is not created in the /mnt folder.
To resolve this issue, you must update the GCC and kernel headers and then reinstall VMware Tools.
To update the GCC and kernel headers and to reinstall VMware Tools:
- Open a terminal and run this command to log in as a super user:
su - - Run this command to install the GCC binary packages:
yum install gcc gcc-c++ make binutils - Run this command to update the Linux kernel:
yum update kernel - Run this command to reboot the virtual machine:
reboot - Open a terminal again and login as the super user.
- Run this command to install the kernel's development packages to update the kernel headers:
yum install kernel-headers kernel-PAE-devel () - Run this command and verify if the update is complete:
uname -rs
You see an output similar to:
Linux 3.1.0-7.fc16.i686
Where 3.1.0-7.fc16.i686 is the kernel version - Click VM > Install/Reinstall VMware Tools to start the VMware Tools installation.
- After the VMware Tools ISO is mounted in the virtual machine, extract the contents.
- Change directory from the terminal Window and run the installer using this command:
./vmware-install.pl
During the installation, you can see that the kernel headers and the GCC path are auto detected and you are not prompted to change the location. The Shared Folders option is also presented for installation. - After the installation completes, shutdown the virtual machine.
- Click VM > Settings to open the virtual machine settings.
- Click the Options tab and select the Shared Folders option.
- Enable shared folders and map the required folder or drive to the virtual machine.
- Power on the virtual machine. The shared folder should be accessible in the given location, /mnt/hgfs/.