How to run Virtualbox 5 on 4.4.1 kernel

Lots of people report some problems with dkms in order to run Virtualbox properly with latest 4 kernel. At the time being the latest kernel is 4.4.1.
The details below are based on Debian stable (jessie) but should work fine on other distributions as well.

All you need to do is simply running the following command:

/usr/lib/virtualbox/vboxdrv.sh setup

Output might be like:

root@stelios-pc:/home/stelios# /usr/lib/virtualbox/vboxdrv.sh setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File:  does not exist.
 ...done.
Trying to register the VirtualBox kernel modules using DKMSError! DKMS tree already contains: vboxhost-5.0.14
You cannot add the same module/version combo more than once.
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules

 ...done.
Starting VirtualBox kernel modules ...done.

 

Eventough some errors appear, Virtualbox is running fine. Be sure you updated your system to the latest stable version of Debian.

Posted on: 11/02/2016








0 Comments
If you want to leave a comment please Login or Register