Kernel driver not installed rc -1908
Kernel driver not installed (rc=-1908) – This is my experience when installing Virtual Box 6.1 on Ubuntu OS. When running Virtual box an error appears “Failed to open a session for the Ubuntu virtual machine, with details like this:
The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Then a pop up appears with contents like this:
VirtualBox – Error In suplibOsinit
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
‘/sbin/vboxconfig’
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) – The support driver is not installed. On linux, open returned ENOENT.
How To Fix This Error?
Why is this happening on our ubuntu os? The VBox kernel driver is not loaded or installed properly.
How to re-install virtualbox-dkms package. Now, open your terminal and please using this command:
sudo apt-get install build-essential module-assistant
sudo m-a prepare
then reboot or restart your Ubuntu Linux.
After restarting please try your Virtualbox again. Is it running or not.
Above Command Doesn’t Work?
If the terminal command above doesn’t work, then you have to disable secure boot, so secure boot = disable.
You must to the BIOS, then select the security menu then look for secure boot, change it to Disable.
If Still Doesn’t Work?
Open your terminal and use this command:
sudo apt install virtualbox-dkms
Done. I hope this tutorial is useful.