2017-06-30 29 views
-1

我已經在這個問題上搜索了互聯網,並且總是考慮在這裏詢問最後的手段。如果在請您指出正確的方向前已經提出並解決了這個問題。流浪者laravel /宅基地共享文件夾2.1.0更新後沒有安裝更新

我使用VirtualBox 5.1.22在MacOS塞拉利昂10.12.5與流浪漢版本1.9.6

昨天我在我的家園箱升級從2.0.0版本2.1.0。我只在升級了流浪漢之後升級了它,它做到了這一點,直到我今天進來,然後轉動我的機器並嘗試再次啓動流浪機。我收到以下錯誤,在正常的東西到底:

Vagrant was unable to mount VirtualBox shared folders. This is usually 
because the filesystem "vboxsf" is not available. This filesystem is 
made available via the VirtualBox Guest Additions and kernel module. 
Please verify that these guest additions are properly installed in the 
guest. This is not a bug in Vagrant and is usually caused by a faulty 
Vagrant box. For context, the command attempted was: 

mount -t vboxsf -o uid=900,gid=900 vagrant /vagrant 

The error output from the command was: 

/sbin/mount.vboxsf: mounting failed with the error: No such device 

我已經試過重裝流浪漢,流浪漢停止,然後無業遊民了,重新啓動機器,然後重新運行,無業遊民重裝--provision

任何幫助是極大的讚賞。

謝謝。

編輯:爲什麼downvote?這似乎是一個完全合理的問題?

+0

你有客戶附加?它可能需要更新,最好是使用[vagrant vbguest插件](https://github.com/dotless-de/vagrant-vbguest) –

+0

是的,事實證明我必須添加插件...真煩人,因爲它只是工作之前,所以我不明白爲什麼我現在需要一個插件... –

+0

如果你不想插件,你可以更新自己,我覺得插件相當方便 –

回答

1

對於給定版本的VirtualBox,該盒子附帶VirtualBox Guest Addition,這不是您在主機上運行的那個版本。

您需要做的是將guest VM中的Guest Additions更新爲您在主機上運行的相同版本的VirtualBox。

  1. 在我的評論中提到的簡單的方法是使用vagrant vbguest plugin,它會從你的主機和客戶機軟件比較版本,並在需要時將自動對齊。我覺得它非常方便,如果需要,可以選擇禁用更新。

  2. 如果您不想運行額外的插件,則可以手動更新訪客虛擬機。

您將需要下載客戶加爲同一版本的VirtualBox的(5.1.22你的情況),並按照instructions to install