Ubuntu14 中安裝 VMware10 Tools工具<2>

來源:互聯網
上載者:User

  • 網上說已經針對上一篇提到的無法顯示共用目錄的問題做了補丁,補丁地址是https://github.com/rasa/vmware-tools-patches,我沒有成功,還是出現“hgfs 不是目錄”錯誤
  • 使用df命令可以看到/mnt/hgfs已經成功掛載,且vmhgfs服務正常(使用lsmod | grep vm命令)
  • 下載VMware10.0.2,安裝後迫不及待的開啟虛擬機器進行vmtools的安裝,成功的完成了之前需要打補丁才能通過的部分,但是在啟動服務的時候報錯
Creating a new initrd boot image for the kernel.update-initramfs: Generating /boot/initrd.img-3.13.0-24-genericinitctl:未知任務: vmware-tools-thinprintUnable to start services for VMware ToolsExecution aborted.
  • 一盆冷水啊,查了一些資料,跟列印有關,反正我也不用列印功能,乾脆刪掉吧
root@yufan-vm:/etc/init# rm vmware-tools-thinprint.conf
  • 重新啟動服務
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
  • 查看共用目錄
root@yufan-vm:/etc/vmware-tools# df檔案系統       1K-blocks     已用      可用 已用% 掛載點/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  啦啦啦德瑪西亞.txt
  • 終於搞定了!

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

sudo mount -t vmhgfs .host:/ /mnt/hgfs
vmware-hgfsclient

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.