hi , after i start virtual machine 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
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.
i tried to fix it with " sudo /sbin/vboxconfig "
here is resualt
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: You must sign these kernel modules before using VirtualBox:
vboxdrv vboxnetflt vboxnetadp
See the documentation for your Linux distribution…
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
as root. If your system is using EFI Secure Boot you may 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.
If so, you will need to enroll the signing certificate. I assume you did not install VirtualBox from the rpmfusion repository. Therefore I don’t know where that certificate may be stored on your system.
If you installed VirtualBox from rpmfusion you also can do the steps here to create a key and then create signed modules.
sudo dnf install akmods
which will install the akmods package if not already installed
which will create a unique key for signing packages that are created using akmods.
sudo mokutil --import /etc/pki/akmods/certs/public_key.der
which will tell your uefi bios that there is a new key to import. This command will ask for a password that you create here and use in step 4
The bios will bring up a mokutil screen that you use to import the key just generated into bios for use by secure boot
sudo akmods force
which will rebuild all kernel modules and sign them with the key just generated.
this time, with secure boot active, the signed kernel modules should be properly loaded
All steps only need to be done once. As long as each has completed successfully future updates of the system will automatically rebuild all needed kernel modules to match the currently or newly installed kernels.
We don’t know if the original poster installed VirtualBox from rpmfusion. If it was downloaded from www.virtualbox.org you need different procedures. The command /sbin/vboxconfig was mentioned in the first post, and that command is not provided by the rpmfusion version.
I don’t know if the problem is the same as the one I’m experiencing. I also installed VirtualBox from rpmfusion, which worked perfectly a few weeks ago. After some recent updates (but I can’t say which one), I cannot start any existing VM or any newly created VM. The error is always the same:
The VM session was aborted.
and I don’t have SecureBoot enabled.
Please let me know if I have to start a new thread.