Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: Unable to Install VirtualBox Due to Missing Kernel Module


Error:

No suitable module for running kernel found When proceeding with starting virtualbox, I get this error: WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-ose-dkms package and the appropriate headers, most likely linux-headers-generic.

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

Solution:

Install build-essentials.

apt-get install build-essentials

and install linux-kernel-headers

apt-get install linux-kernel-headers

or

apt-get install linux-kernel-*

Install dkms

apt-get install dkms