環境
ホストpc: windows10
ゲストpc: ubuntu ← gesteditionsインストール
ゲストpc: centos
ubuntuにgesteditionsをインストールしたのになぜかcentos を vagrant up
しよとすると勝手に共有フォルダを作成して最終的にマウントが失敗するという意味不明な現象がおきています。
エラーの内容
The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
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:
/sbin/mount.vboxsf: mounting failed with the error: No such device
gesteditonsを導入するときに光学ドライブを作成しましたがそれが悪さしているんでしょうか?現在も調査中ですが同じような現象に遭遇したかたがいましたら解決方法をおしえてください。
補足
- centosをvagrantupすると共有フォルダが勝手に作成される。
- centosにguesteditionsはインストールされていない
- config.vm.synced_folder ".", "/vagrant", disabled: true 効果なし
- ubuntuをvagrantupをすると共有フォルダは作成されない(なぜ)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。