The vboxdrv kernel module is not loaded

I recently got the problem with Virtualbox on Debian Jessie that vbox’s kernel modules were not loaded after updating my system.
Every vbox-related command gave the following error output:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.16.0-4-amd64) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

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

So what to do? Just /etc/init.d/vboxdrv setup didn’t do the trick for me. The kernel modules still did not auto-load after the next reboot.

So I forced the load of these modules by putting entries in /etc/modules:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

loop
# vbox related stuff
vboxpci
vboxnetadp
vboxnetflt
vboxdrv

Now Virtualbox is happy again 😉

PS: Sometimes a simple dpkg-reconfigure virtualbox-x.xx can also help.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.