Help us understand the problem. What is going on with this article?

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

More than 1 year has passed since last update.

以下の環境で、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 のアップデート待ちですかね

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away