###実現したいこと
windows10(64bit)でVirtualBOXを利用した仮想環境を構築したいと思っています。
不足情報などございましたらご指摘をいただけましたら幸いです。
###発生している問題・エラーメッセージ
vagrantで仮想サーバを起動しようとmountに関連すると思われる以下のエラーが発生し解消することができずにいます。
$ vagrant reload ==> default: Attempting graceful shutdown of VM... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! [default] GuestAdditions 5.1.16 running --- OK. ==> default: Checking for guest additions in VM... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => C:/Dropbox/Training/Vagrant/chef-sZ5 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=500,gid=500 vagrant /vagrant The error output from the command was: : No such file or directory
###試したこと
GuestAdditionsのversionがホストとゲストで異なる場合に同様のエラーが起きるとのことで、
vbguestで対応は完了しています。
$ vagrant vbguest --status [default] GuestAdditions 5.1.16 running --- OK.
###補足情報(言語/FW/ツール等のバージョンなど)
ホスト:windows10(64bit)
ゲスト:CentOS release 6.8 (Final)
VirtualBox:5.1.16
Vagrant:1.9.2
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。