1. 程式人生 > >VMWARE10與WIN10共享資料夾問題

VMWARE10與WIN10共享資料夾問題

折騰了好久,執行了三四個方案,就是沒法把共享資料夾弄出來。
回去檢視詳細的日誌才發現有一個模組沒編譯出來導致錯誤。

vmhgfs !!!

能定位問題就好解決了,又搜了老半天。看到GITHUB上給了個最好的解決方案,果然還是歪果仁靠譜。

問題如下:

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

sudo vmware-hgfsmounter .host:/$(vmware-hgfsclient)/mnt/hgfs. 

Both return Error: cannot canonicalize mount point: No such file or
directory.

最快捷的方法。如下的指令。操作完後重啟一個虛擬機器,就可以看到目錄了。

$ git clone https://github.com/rasa/vmware-tools-patches.git
$ cd vmware-tools-patches
$ ./patched-open-vm-tools.sh