LoginSignup
6
5

More than 5 years have passed since last update.

Windows 7上のVagrant 1.9.2とVirtualBox 5.1.16の組み合わせで /sbin/mount.vboxsf: mounting failed with the error: No such file or directory と怒られる

Last updated at Posted at 2017-03-09

以下の環境で、VirtualBox 5.1.16 (2017/03/08 現地時間 リリース) を使うと、Guest Addition をインストールしても、VirtualBoxの共有フォルダ機能が動作しない。

追記

2017/03/17

本日(?)リリースされたVirtualBox 5.1.18 では本問題は解決しました。

2017/03/11

Debian系だけではなく、RHEL系でも発生している このIssue の事象。

正にこれが発生した

==> puppet: Mounting shared folders...
    puppet: /vagrant => C:/Users/hccpp302/Documents/projects/vagrant-puppet4-oss
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=1000 vagrant /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such file or directory

2017/03/11 その2

コメント欄にて @hirdot さんから提供いただいた情報です。ありがとうございます!
vagrant のrbファイルを修正することでの暫定対処できそうです。
恒久対策というか、本対策はvagrantのアップデート待ちですが、お困りの方は以下のStackoverflowの記事もご参照ください。
https://stackoverflow.com/questions/42074246/vagrant-error-unable-to-mount-virtualbox-shared-folders-guest-additions-vboxs/42716556#42716556?newreg=852fc6640e12486dbe238a2655798a57

2017/03/15

コメント欄にて @teufelj さんから提供いただいた情報と合わせてとなりますが、VirtualBox側のバグのようです。
情報提供いただきありがとうございます!

https://forums.virtualbox.org/viewtopic.php?f=6&t=82165
https://www.virtualbox.org/ticket/14651

環境

ホストOS Windows 7 Enterprise
- Vagrant 1.9.2
ゲストOS Ubuntu 16.04
ゲストOSのカーネル Linux 4.4.0、4.8.0、4.10.0 (PPA for Canonical Kernel Team)

暫定対策

VirtualBox を 5.1.14 にダウングレードする。(VirtualBoxのExtension PackageやGuest AdditionはそのままでOK)

VirtualBox のアップデート待ちですかね

6
5
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5