If vmtools is successfully installed in ubuntu10.10 under the VM, the shared folder still cannot be displayed.

Source: Internet
Author: User
Tags tmp folder

Install ubuntu10.10 on the VM by default. Select Chinese and click Continue. Update the file after installation.

When installing vmtools, copy the vmtools to the tmp directory and decompress it. Enter the tmp directory as the root user on the terminal and execute./* pl. Press enter.

C header files cannot be found, and C complie is not found. First, execute the following command:

Sudo-S// Enter the root permission

CD/lib/modules/$ (uname-R)/build/include/Linux// $ (Uname-R) is the system version number, that is, a folder under the modules directory, such as 2.6.35-23-generic.

Ln-S ../generated/utsrelease. h
Ln-S ../generated/Autoconf. h

Then reinstall VMware Tools. Press enter until the end.
If the installed vmtools still cannot share files in the PC. How to perform the following operations.

Uninstall it first, terminal command: sudo vmware-uninstall-tools.pl

2. click the VM option install VMware Tools (if the previously generated file is still in progress, you do not need to generate it again), and open vmware-tools-distrib, copy the compressed file to the TMP folder and decompress it to generate the vmware-tools-distrib folder. (Go to the decompressed vmware-tools-distrib.
)

3. Enter the vmware-tools-distrib/lib/modules/sourcefolder under TMP to decompress vmhgfs.tar (Terminal
Command: Run tar-XF vmhgfs.tar.pdf to decompress and generate vmhgfs.tar-only. Delete vmhgfs.tar (RM-F
Vmhgfs.tar) (because the name folder needs to be modified later and then compressed again), and then enter/vmhgfs.tar-only to find compat_slab.h. First
Run the command chmod + W compat_slab.h to change the read-only attribute of the file to writable. Use VI or gedit to modify it (gedit
Compat_slab.h), find the row: # If linux_version_code <kernel_version (2.6.22
) | Defined, replace this row with: # If linux_version_code <= kernel_version (2.6.22) | defined (<Changed to <= ),
Save and quit so that our substantive work is done.

4.decompress and refresh and package vmhgfs.tar-onlyVmhgfs.tar
File (tar-CF vmhgfs.tar vmhgfs-only), and then delete the vmhgfs-only folder (RM-RF vmhgfs-only ).

5. Go back to tmp/vmware-tools-distrib and reinstall vmware-tools (terminal command:./vmware-install.pl). Press enter.

Note: When setting vmnet (as if this is the case.

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.