Kernel driver not installed (rc=-1908) on Fedora 32
Matthew Harrington
Running VirtualBox 6.1.12 r139181 on Fedora 32 and it is working fine. But after update to kernel 5.8.4-200.fc32.x86_64 on Fedora, I get the following error when trying to load a VM.
7The 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.
3 Answers
The issue is resolved in version 6.1.14 of VirtualBox.
2Install some dependencies for vbox:
sudo dnf install kernel-devel kernel-headers dkms qt5-qtx11extras elfutils-libelf-devel zlib-develIf dnf is throwing some error like these packages are not found, then add the keys and try again.
wget && \ sudo rpm --import oracle_vbox.ascExecute
/sbin/vboxconfigas root.Now try launching the VM.
I found that by turning off UEFI Boot in the system BIOS solved the issue after running sudo /sbin/vboxconfig. This allowed VBOX to build the appropriate kernel modules.