Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed mount #3

Open
do9iigane opened this issue Apr 18, 2016 · 0 comments
Open

failed mount #3

do9iigane opened this issue Apr 18, 2016 · 0 comments

Comments

@do9iigane
Copy link

利用させて頂きました。
既存のlaravel5.2 に追加したんですが、

vagrant up

すると以下のようにmountに失敗します。

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

The error output from the last command was:

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

consoleを遡ると、以下のように Guest Additions module の追加に失敗しています。

Removing installed version 5.0.6 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules[  OK  ]
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules[  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module[失敗]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions[  OK  ]

vagrant ssh 後以下のようにkernelのupdate,compilerのinstallをすると、
正常にmountが可能でした。

sudo yum -y update kernel
sudo yum -y install kernel-devel kernel-headers dkms gcc gcc-c++

以下box fileのkernelを update, その他kernel周りの package,compilerのinstallをしてはいかがですか?
https://atlas.hashicorp.com/ytake/boxes/gardening/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant