VirtualBox: Kernel driver not installed (rc=-1908) | Fedora 36

Issue

After full reinstalling Fedora to version 36 I have 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 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? Thanks

Solution

Please try:

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

Answered By – vitallium

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published