Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to run Vagrant on Ubuntu 16.04

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.

like image 802
Stephen R Chen Avatar asked Jun 04 '16 00:06

Stephen R Chen


1 Answers

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

enter image description here

like image 147
aomanansala Avatar answered Oct 04 '22 10:10

aomanansala