VMWare Workstation installation Red Hat Ent 7.2 shared folders do not show problem resolution __red

Source: Internet
Author: User

Using the VMware WORKSTATION12 installation Red Hat Ent 7.2, the shared folder was set up after the installation was completed, but no shared folders were visible in the/mnt/hgfs directory after entering the Red Hat Ent 7.2 system.

So try to find the various methods online, eventually this problem was solved by me.

Problem resolution steps are as follows:

1, install the required package 

# RPM-IVH gcc-4.8.5-4.el7.x86_64.rpm 

glibc-devel-2.17-105.el7.x86_64.rpm 

cpp-4.8.5-4.el7.x86_64.rpm cpp-4.8.5-4.el7.x86_64.rpm 

glibc-headers-2.17-105.el7.x86_64.rpm 

kernel-headers-3.10.0-327.el7.x86_64.rpm 

libmpc-1.0.1-3.el7.x86_64.rpm mpfr-3.1.1-4.el7.x86_64.rpm 

Warning:gcc-4.8.5-4.el7.x86_64.rpm:header V3 RSA/SHA256 Signature, key ID Fd431d51:nokey Warning:package 

cpp-4.8.5-4.el7.x86_64 was already added, skipping cpp-4.8.5-4.el7.x86_ 

Preparing ... ################################# [100%]

updating/installing ... 

1:mpfr-3.1.1-4.el7 ################################# [14%] 

2:libmpc-1.0.1-3.el7 ################################# [ 29%] 

3:cpp-4.8.5-4.el7 ################################# [43%] 

4:kernel-headers-3.10.0-327.el7 #################### ############# [57%] 

5:glibc-headers-2.17-105.el7 ################################# [71%] 

6:glibc-devel-2.17-105.el7 ################################# [86%] 

7:gcc-4.8.5-4.el7 ################################# [100%]

# RPM-IVH kernel-devel-3.10.0-327.el7.x86_64.rpm warning:kernel-devel-3.10.0-327.el7.x86_64.rpm:header V3 RSA/ SHA256 Signature, key ID fd431d51:nokey 

preparing ... 

################################# [100%] 

updating/installing ... 

1:kernel-devel-3.10.0-327.el7 ################################# [100%]
2, kernels-headers path installation vmtools prompts the path "is not a valid path to the 3.10.0-229.el7.x86_64 kernel headers." 

Would you have it? [Yes] 

Reason: Kernel header file not found. 

Resolution: The/USR/SRC directory has the required kernel source files, no words to use the command yum-y install kernel-devel then enter the path to the kernel header files for the 3.10.0-229.el7.x86_64 kernel? 

This step is to enter the directory for the kernel header file, mine is/usr/src/kernels/3.10.0-229.el7.x86_64/include. 

At this point, if your vmtools version is older, you'll still be prompted not to. Valid path. 

This is because the 3.x version of the kernel Version.h path has changed, causing Vmtools to be unable to find it. 

Using command sudo ln-s < kernel header file directory >/generated/uapi/linux/version.h < kernel header file directory >/include/linux/version.h # sudo ln-s/usr/ Src/kernels/3.10.0-327.el7.x86_64/include/generated/uapi/linux/version.h/usr/src/kernels/3.10.0-327.el7.x86_64 /include/linux/version.ch
3, reinstall Vmtools 

1 Reinstall VMware Tools, in the virtual machine after the image file is mounted, the compressed files inside the current user's home directory, that is, the home directory can see "Vmware-tools-distrib" this folder. 

2 in the home directory to create a new script named Fix.sh, the contents of the script is as follows: 

3 to the script with the executable properties, run the script, and then 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/vm Ware-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 VMWA Re-tools-distrib sudo./vmware-install.pl--clobber-kernel-modules=vmhgfs Set +x

Related Article

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.