Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented Oct 28, 2015

thanks!

@philxtian

This comment has been minimized.

Copy link

commented Nov 5, 2015

Thanks! This fixed the problem. 👍

@tyzzzon

This comment has been minimized.

Copy link

commented Nov 6, 2015

Thanks!!!!

@kovalpetro

This comment has been minimized.

Copy link

commented Jan 22, 2016

Thanks, helpful!!

@trytomakeit1

This comment has been minimized.

Copy link

commented Feb 24, 2016

Thank you. helped me in ubuntu 14.04 LTS

@renandanton-praxis

This comment has been minimized.

Copy link

commented Mar 23, 2016

Thanks man, this command solved the problem.

@kadiiskiFFW

This comment has been minimized.

Copy link

commented Apr 14, 2016

Thanks! This helped.

@avinash-mishra

This comment has been minimized.

Copy link

commented Jan 17, 2017

Not working in Ubuntu 16.04, Can you suggest something ?

@gabs159

This comment has been minimized.

Copy link

commented Jan 19, 2017

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

@alexishermo

This comment has been minimized.

Copy link

commented Mar 23, 2017

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

This comment has been minimized.

Copy link
Owner Author

commented Oct 26, 2017

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

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.