Kernel driver not installed (rc=-1908) virtualbox

[How To Fix] Kernel driver not installed (rc=-1908) | VirtualBox [ Linux ]

In this blog, we are going the solve the Error: Kernel driver not installed (rc=-1908).The VirtualBox Linux kernel driver is either not loaded or not set up correctly in virtual box.

Kernel driver not installed (rc=-1908)
Kernel driver not installed Virtualbox

Also Read: Error: The following packages have unmet dependencies.

The issue is that the vboxdrv module is not signed and therefore does not load with the kernel. This will occur if your computer has the SecureBoot mode enabled, which is quite common on current equipment. Follow the below step to Solve Kernel driver not installed Virtualbox error.

That is why we get this problem when we try to access any computer in Virtual Box.

Kernel driver not installed (rc=-1908)

Steps to Solve Kernel driver not installed (rc=-1908) in Virtual Box (Linux):

Do the following steps to sign a driver, and it is loaded as a kernel module.

1. Install the mokutil package to be able to do signed. So Open the Terminal and first update and upgrade your system.

sudo apt-get update
sudo apt-get upgrade

Now install the mokutil package by using the command given below.

sudo apt-get install mokutil

Also Read: How to Install Sticky Notes Indicator on Ubuntu 2021

2. Generate the signature file by using the command:

openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VirtualBox/"

3. Then add it to the kernel:

sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)

4. Register it for the Secure Boot.

IMPORTANT! That will ask you for a password. Put the one you want. Then, you will only have to use it once in the next reboot.

sudo mokutil --import MOK.der

Also Read: How to Install and Use WifiPumpkin3 in Kali Linux 2021

5. Finally, restart the computer. A blue screen will appear with a keyboard wait, press the key that asks you to interrupt the boot.

 

Also Read: How to install network speed indicator on Ubuntu

When you are inside the blue screen, select

Enroll MOK > Continue > Yes 

And it will ask you for the password that you have previously entered, you will enter it and you will be informed that the operation has been completed successfully.

Now your operating system will start and you can now use VirtualBox without issue. I tested this in Ubuntu, Kubuntu and Debian. Hope this help someone.

You can Solve this Error Kernel driver not installed (rc=-1908) linux by disabling secure boot option. Go to BIOS configuration and disable secure boot.

One comment

  1. Thanks mate, you are a star. I tried some many fixes and looked at so many tutorials, to no avail. Some people just can’t explain things properly. And then again, some can…blessings.

Leave a Reply

Your email address will not be published. Required fields are marked *