Install VMware10 Tools in Ubuntu14 & lt; 2 & gt;

Source: Internet
Author: User

  • I have already installed a patch for the problem that the shared directory cannot be displayed in the previous article. The patch address is https://github.com/rasa/vmware-tools-patches. if the patch fails, the error "HGFS is not a directory" appears.
  • Run the df command to check whether/mnt/hgfs has been successfully mounted and the vmhgfs service is normal (use the lsmod | grep vm command)
  • Download VMware10.0.2. After installation, you can't wait to open the virtual machine to install vmtools. After successful installation, You need to patch the part before it passes. However, an error is reported when you start the service.
Creating a new initrd boot image for the kernel. update-initramfs: Generating/boot/initrd. img-3.13.0-24-genericinitctl: Unknown task: vmware-tools-thinprintUnable to start services for VMware ToolsExecution aborted.
  • I checked some information about printing. I don't need the printing function anyway. Just delete it.
root@yufan-vm:/etc/init# rm vmware-tools-thinprint.conf
  • Restart the service
root@yufan-vm:/etc/vmware-tools# ./services.sh restartStopping VMware Tools services in the virtual machine:   Guest operating system daemon:                                      done   VMware User Agent (vmware-user):                                    done   Blocking file system:                                               done   Unmounting HGFS shares:                                             done   Guest filesystem driver:                                            done   VM communication interface:                                         done   Checking acpi hot plug                                              doneStarting VMware Tools services in the virtual machine:   Switching to guest configuration:                                   done   VM communication interface:                                         done   Guest filesystem driver:                                            done   Mounting HGFS shares:                                               done   Blocking file system:                                               done   VMware User Agent:                                                  done   Guest operating system daemon:                                      done
  • View shared directories
Root @ yufan-vm: /etc/vmware-tools # df file system 1K-blocks available in use % mount point/dev/sda1 19478204 4487716 13978008 25%/none 4 0 4 0%/sys/fs/cgroupudev 1010624 4 1010620 1%/devtmpfs 204276 1072 203204 1%/runnone 5120 0 5120 0%/run/locknone 1021364 152 1021212 1%/run/shmnone 102400 56 102344 1%/run/user/dev/sr0 61542 61542 0 100%/media/yufan/VMware Tools. host:/186165244 47665228 138500016 26%/mnt/hgfsroot @ yufan-vm:/etc/vmware-tools # cd/mnt/hgfsroot @ yufan-vm: /mnt/hgfs # lsWindowsShareroot @ yufan-vm:/mnt/hgfs # cd WindowsShare/root @ yufan-vm:/mnt/hgfs/WindowsShare # lsabc la Dara txt
  • Finally!

-----------------------------------------------------

Sudo mount-t vmhgfs. host: // mnt/hgfs
Vmware-hgfsclient

. Host:/shared/home/pnuts/shared vmhgfs defaults 0 0

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.