5

I just recently installed Vagrant and Virtualbox but am unable to run Vagrant. I'm getting the following error when I run 'vagrant up':

roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ vagrant up
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.

Then when I run 'VBoxManage --version', I get:

roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ VBoxManage --version
WARNING: The character device /dev/vboxdrv does not exist.
     Please install the virtualbox-dkms package and the appropriate
     headers, most likely linux-headers-generic.

     You will not be able to start VMs until this problem is fixed.
5.0.18_Ubuntur106667

I have tried a number of solutions such as the instructions here: How to correct virtualbox installation, but nothing has seemed to work.

Please help.

Community
  • 1
  • 1
Stephen R Chen
  • 111
  • 2
  • 8

2 Answers2

4

For others who are also having the issue, disable the secure boot. Worked to me.

enter image description here

1

Reinstalling virtualbox-dkms (via aptitude reinstall virtualbox-dkms) did the trick for me. It forced the rebuild of the modules and whatnot, now my VMs boot again =)

Hope this helps

Martin Bahier
  • 11
  • 1
  • 2