求助!使用vagrant啟動時無法掛載檔案

JunYu發表於2021-06-29
  • 環境win10 Hyper-v
  • ubuntu20.04
  • 11.30 homestead
    已經嘗試過(依舊報錯):
    vagrant plugin install vagrant-vbguest
    錯誤程式碼如下:
    homestead: H:/code => /home/vagrant/code
    Failed to mount folders in Linux guest. This is usually because
    the "vboxsf" file system is not available. Please verify that
    the guest additions are properly installed in the guest and
    can work properly. The command attempted was:
    

mount -t cifs -o vers=3.02,credentials=/etc/smb_creds_vgt-f3457f81eaf3132420c88789aa2db42b-66f0bd5cbca4d218f5f0b8a5f1712727,uid=1000,gid=1000,mfsymlinks,_netdev,nofail //169.254.173.72/vgt-f3457f81eaf3132420c88789aa2db42b-66f0bd5cbca4d218f5f0b8a5f1712727 /home/vagrant/code

The error output from the last command was:

mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

求各位大佬支招
本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章