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. Cheaderfiles cannot be found, and ccomplie is not found. First, execute the following command: Install Ubuntu 10.10 On the sudo-s Virtual Machine 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 in the modules directory, for example: 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: tar-xf restart (rm-f vmhgfs.tar) (because the file name folder needs to be modified 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 modify the read-only attribute of the file to writable, use vi or gedit to enter its modification (gedit compat_slab.h), find the row: # if LINUX_VERSION_CODE <KERNEL_VERSION (2.6.22) | defined, replace the row: # if LINUX_VERSION_CODE <= KERNEL_VERSION (2.6.22) | defined (coming soon <改为<=),保存退出这样我们的实质工作就已经做好了。< p>

4.return and refresh. Pack vmhgfs.tar-onlyinto the vmhgfs.tar file (tar-cf vmhgfs.tar vmhgfs-only), and 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.

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.