VirtualBox is a free and open-source software currently being developed by Oracle Corporation. It is, when installed on a machine, allows you to run more than one operating system at a time. This way, you can run software written for one operating system on another (for example, Windows software on Linux or a Mac) without having to reboot to use it.
The runtime error is as follows:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
As written in the error message itself, there is a package in Linux called DKMS wich keep track of the Linux kernel changes. vboxdrv is a VirtualBox kernel module which needs to be recompiled each time when there is a Linux kernel upgrade. If DKMS is installed properly, it will do the necessary.
So, we need to download dkms and tell the module to recompile vboxdrv. Which means,
$ sudo apt install dkms
will install the DKMS package. And,
$ sudo /etc/init.d/vboxdrv setup
will recompile it.
If the above doesn’t work, then we might need to reinstall DKMS and then enable it manually as follows:
$ sudo apt-get remove virtualbox-dkms
$ sudo apt-get install virtualbox-dkms
After that You can enable it manually
$ sudo modprobe vboxdrv
$ sudo modprobe vboxnetflt
I have posted a video tutorial on the fix. Please make sure that your issue is the same before posting negative comments.
If your problem is different, please use askubuntu Q&A
As a LastPass user, you might have noticed the changes introduced last day. The message… Read More
This post presents with a few bunches of AWS network security checklist. It is basically… Read More
What is this web security checklist? Here is a curated web security checklist for developers… Read More
In the last part of the blog series we have seen the history of internet… Read More
Welcome back budding pen-testers. :) In the first part of the blog series we have… Read More
Last day I was riddling with Evilginx, a phishing attack tool. It needs to be… Read More
It works for me.
Thanks for this.. it helped me fix my issue on Ubuntu 16.04
Glad that helped :)
I upgrade my ubuntu version from 16 to 18 and this post help me to solve the problems I have.
Thanks for the info
thank you SOO much for posting this info, it solved the problem perfectly!