Ask Your Question

How to load VirtualBox Linux kernel driver (vboxdrv) in Fedora 24?

asked 2016-09-06 07:36:57 -0500

powergame gravatar image

updated 2016-09-06 07:44:49 -0500

I installed VirtualBox using dnf and created a Windows 7 virtual machine, but when I hit Start, it fails with the following notice on a failure dialog box:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.You may not have kernel driver installed for kernel that is runnig, if so you may do as root: dnf install akmod-VirtualBox kernel-devel-$(uname -r)If you installed VirtualBox packages and don't want reboot the system, you may need load the kernel driver, doing as root: akmods; systemctl restart systemd-modules-load.service

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Also, when started from Konsole (on KDE), it gives the following warning:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.5.5-300.fc24.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/rcvboxdrv setup

         You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

I tried what the first dialog said i.e. install akmod-VirtualBox kernel-deverl-$(uname -r), then executed:
as root:

su -c akmods; systemctl restart systemd-modules-load.service

and the result is:

Checking kmods exist for 4.5.5-300.fc24.x86_64             [  OK  ]
Job for systemd-modules-load.service failed because the control process exited with error code. See "systemctl status systemd-modules-load.service" and "journalctl -xe" for details.

Also, I executed sudo /sbin/rcvboxdrv setup, but there is no rcvboxdrv in that directory for me.
One more thing, the result of systemctl status systemd-modules-load.service as hinted by the above error message is:

● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: 
   Active: failed (Result: exit-code) since Tue 2016-09-06 17:00:21 IRDT; 3min 33s ago
     Docs: man:systemd-modules-load.service(8)
  Process: 3069 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 3069 (code=exited, status=1/FAILURE)

Sep 06 17:00:21 localhost.localdomain systemd[1]: Starting Load Kernel Modules...
Sep 06 17:00:21 localhost.localdomain systemd[1]: systemd-modules-load.service: Main process exi
Sep 06 17:00:21 localhost.localdomain systemd[1]: Failed to start Load Kernel Modules.
Sep 06 17:00:21 localhost.localdomain systemd[1]: systemd-modules-load.service: Unit entered fai
Sep 06 17:00:21 localhost.localdomain systemd[1]: systemd-modules-load.service: Failed with resu

and the result of journalctl -xe is

Sep 06 17:02:20 localhost.localdomain audit[3120]: CRED_REFR pid=3120 uid=0 auid=1000 ses=1 subj
Sep 06 17:02:20 localhost.localdomain sudo[3120]: pam_systemd(sudo:session): Cannot create sessi
Sep 06 17:02:20 localhost.localdomain audit[3120]: USER_START pid=3120 uid=0 auid=1000 ses=1 sub
Sep 06 17:02:20 localhost.localdomain sudo[3120]: pam_unix(sudo:session): session opened for use
Sep 06 17:02:20 localhost.localdomain sudo[3120 ...
edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2016-09-06 08:04:28 -0500

fcomida gravatar image

I remember there is an issue with selinux preventing vboxdrv to load. Try with "setenforce 0; modprobe vboxdrv". If not fixed you'll have to do it manually each time before running vbox.

edit flag offensive delete link more


Thank you it seems to work. Can you please tell what this command does?

powergame gravatar imagepowergame ( 2016-09-06 08:28:55 -0500 )edit

it puts selinux in permissive mode. turn it back to enforcing with "setenforce 1". getenforce will tell you actual selinux status.

fcomida gravatar imagefcomida ( 2016-09-06 09:05:59 -0500 )edit

answered 2016-09-22 22:23:35 -0500

sergiomb gravatar image

Hello , this selinux problem, is reported here: , last comment says that is fixed , can you confirm .it ?

wiki page for vbox in RPMFusion:

ah and I already fixed messages when run from command line , but it is only on package VirtualBox-5.1.6-2 (just in F25)

Best regards.

edit flag offensive delete link more

answered 2016-09-06 23:41:17 -0500

zlh5009 gravatar image

updated 2016-09-06 23:46:16 -0500

I had the same issue with my own virtualbox installation after I upgraded to 24 from 23 through the "Software" app. I had a few other issues that I thought might be related to the settings migration from the upgrade, so I decided to reinstall directly from the disc. After reinstalling the system from the 24 live cd and reconfiguring, the virutalbox driver loaded fine. So, you may have some luck if you totally wipe the kmods, and reinstall.

edit flag offensive delete link more


I kind of thought about wiping kernel cores other than the main one which is 4.5.5, but I could not take the risk.

powergame gravatar imagepowergame ( 2016-09-07 00:50:23 -0500 )edit

Question Tools

1 follower


Asked: 2016-09-06 07:36:57 -0500

Seen: 6,322 times

Last updated: Sep 22 '16