Workarounds for Shared folders are not visible under/mnt/hgfs after you install VMware Tools

Source: Internet
Author: User

Trapped in this problem for a long time, once thought so forget it. I can share files between the main plane by dragging and dropping the copy feature, or you can set up a network share to achieve the same purpose, why "hang" on this tree. Helpless obsessive-compulsive disorder, last night to try to solve this problem, this time changed a train of thought, finally completely solved the problem.

Encounter this problem, first think with Google search, with "VMware shared folder Hgfs" keyword, you can find this method, execute the following two commands:

1. sudo apt-get install open-vm-dkms or sudo apt-get install Open-vm-tools

2. Sudo mount-t vmhgfs. host://mnt/hgfs I don't know how many people have solved this problem by this method, in short I have only succeeded once, but after restarting the virtual machine and then executing the 2nd command will be an error. Feel this way to rely on luck, I bad luck, but also therefore have the following this completely solve this problem method.

When you install VMware tools in front of you, you're all the way back, and you're not too careful about the installation process. In fact, the installation process error message has already mentioned the cause of this problem, this time of reinstallation, notice that the installation of this feature failed to prompt this message: "The Vmxnet driver is no longer supported on kernels 3.3 and great Er ... ". So directly this sentence as the key word with Google search, then found this method:

1. Reinstall VMware Tools, after mounting the image files in the virtual machine, unzip the compressed files inside the current user's home directory, which is the "Vmware-tools-distrib" folder in the home directory.

2. Create a new script named fix.sh in the home directory with the following script:

3. After you add the executable property to the script, run the script and restart it.

Set-x
CD $home
cd vmware-tools-distrib/lib/modules/source
sudo tar xf vmhgfs.tar
sudo wget https:// Raw.github.com/rasa/vmware-tools-patches/master/patches/vmhgfs/vmhgfs-d_count-kernel-3.11-tools-9.6.0.patch
sudo patch-p0 <vmhgfs-d_count-kernel-3.11-tools-9.6.0.patch
sudo mv Vmhgfs.tar vmhgfs.orig.tar
sudo Tar CF Vmhgfs.tar vmhgfs-only
CD $home
cd vmware-tools-distrib
sudo./vmware-install.pl-- Clobber-kernel-modules=vmhgfs
Set +x

The last thing to say is that although the article is original, but the most critical part of the online search (click to open the link), can only be said to be Jiehuaxianfo bar, just hope to help meet the same problem classmates.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.