Search code examples
linuxvirtual-machinevirtualboxfedora

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


After fully reinstalling Fedora to version 36, I got this error:

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

Commands from other topics that don't work:

sudo dnf reinstall kernel-devel kernel-headers dkms qt5-qtx11extras  elfutils-libelf-devel zlib-devel
systemctl restart vboxdrv
sudo dnf reinstall VirtualBox-6.1
sudo /sbin/vboxconfig

What do I need to do?


Solution

  • Please try:

    $ sudo dnf -y install @development-tools
    $ sudo dnf install kernel-headers kernel-devel dkms  -y