LoginSignup
2
1

More than 5 years have passed since last update.

VirtualBoxで`VirtualBox is complaining that the kernel module is not loaded`

Posted at

Ubuntu 14.04LTSホスト上で

$ vagrant up
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.

エラーメッセージ見てみろというので確認

$ VBoxManage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.19.0-49-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.
5.0.14r105127

(VirtualBoxの?)recompileをしろというので、

$ sudo /sbin/rcvboxdrv setup
Bad argument setup

おい!どうすんだよ!

...ってことでaskUbuntu

どうやらsudo /usr/lib/virtualbox/vboxdrv.sh setupを使うらしい。

$ VBoxManage --version
5.0.14r105127

直った。
これってKernelのUpdateの度に必要なんだっけ?...

2
1
0

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
2
1