Skip to content

Instantly share code, notes, and snippets.

@geraldvillorente
Created December 1, 2014 22:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geraldvillorente/977d16624e079ba12741 to your computer and use it in GitHub Desktop.
Save geraldvillorente/977d16624e079ba12741 to your computer and use it in GitHub Desktop.
VirtualBox is complaining that the kernel module is not loaded
drupal drupalvdd: 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.
Solution:
drupal drupalvdd: sudo /etc/init.d/vboxdrv setup
@pablolibo
Copy link

thanks!

@philxtian
Copy link

Thanks! This fixed the problem. 👍

@tyzzzon
Copy link

tyzzzon commented Nov 6, 2015

Thanks!!!!

@kovalpetro
Copy link

Thanks, helpful!!

@trytomakeit1
Copy link

Thank you. helped me in ubuntu 14.04 LTS

@renandanton-praxis
Copy link

Thanks man, this command solved the problem.

@kadiiskiFFW
Copy link

Thanks! This helped.

@avinash-mishra
Copy link

Not working in Ubuntu 16.04, Can you suggest something ?

@gabs159
Copy link

gabs159 commented Jan 19, 2017

Not working in Ubuntu 16.04, Can you suggest something ? [2]

@alexishermo
Copy link

I have Ubuntu 16.04 and i resolved this problem following this steps:
*I WROTE THIS--> VBoxManage --version
*AND IT SHOW ME THIS-->
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.4.0-66-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.34r113845

 *EXECUTE THIS COMMAND--> sudo /sbin/rcvboxdrv setup
 *READY

@geraldvillorente
Copy link
Author

Welcome guys. For Ubuntu 16.04 I think the solution posted by Alexishermo is the answer. Also please consider checking out Docker as it is much faster and leaner.

@gmatere
Copy link

gmatere commented Jun 18, 2019

hi, I was gettting the same error and tried the solutions listed above.

  1. when I tried sudo /sbin/vboxconfig I get follwoing error:
    vboxdrv.sh: Stopping VirtualBox services.
    vboxdrv.sh: Starting VirtualBox services.
    vboxdrv.sh: Building VirtualBox kernel modules.
    vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

  1. then I tried sudo /sbin/rcvboxdrv setup, getting following error:
    vboxdrv.sh: Stopping VirtualBox services.
    vboxdrv.sh: Starting VirtualBox services.
    vboxdrv.sh: Building VirtualBox kernel modules.
    vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment