Skip to content

Instantly share code, notes, and snippets.

@nishiyamaosamu
Last active December 29, 2015 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nishiyamaosamu/7718188 to your computer and use it in GitHub Desktop.
Save nishiyamaosamu/7718188 to your computer and use it in GitHub Desktop.
vagrantでmountエラーの解決方法 ref: http://qiita.com/osamu1203/items/10e19c74c912d303ca0b
Failed to mount folders in Linux guest. This is usually beacuse
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 apache | cut -d: -f3`,dmode=777,fmode=777 /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g apache`,dmode=777,fmode=777 /vagrant /vagrant
vagrant ssh
sudo /etc/init.d/vboxadd setup
Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module [ OK ]
Building the shared folder support module [ OK ]
Building the OpenGL support module [失敗]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions [ OK ]
vagrant halt
vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment