Page 1 of 1

Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded" [solved]

Posted: 21. Nov 2016, 05:55
by phoenix_rising
Hi, I have this error and I can't start a virtual machine. I have tried numerous fixes, detailed below.

Code: Select all

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.8.8-200.fc24.x86_64) or it failed to
         load. Please try load the kernel module by executing as root

           dnf install akmod-VirtualBox kernel-devel-4.8.8-200.fc24.x86_64
           akmods --kernels 4.8.8-200.fc24.x86_64 && systemctl restart systemd-modules-load.service

         You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
Both akmod-VirtualBox and kernel-devel are installed and the correct versions, and I have rebooted several times since installing them.

Thanks in advance

I've searched others' solutions but nothing works:

There is no package called linux-headers

I am a member of vboxusers group but have run it as root and got the same problem

I've updated and rebooted- it was only updated a few days ago anyway

On my last system (Same Fedora 24 before I broke it) I compiled VirtualBox from source, uninstalled and installed from rpm and got the same fault. This one was from the repository.

I don't have secure boot enabled, there is no legacy boot mode. I had the laptop built as a linux laptop. It's a PC Specialist Cosmos IV.

Re: Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded"

Posted: 21. Nov 2016, 15:33
by Perryg
akmod-VirtualBox is the rpmfusion version and as such is supported by them. If you want support here you need to remove that one and install the one from virtualbox.org.

Re: Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded"

Posted: 22. Nov 2016, 00:59
by phoenix_rising
I removed everything to do with VirtualBox and reinstalled the same rpm from virtualbox I did before, but this time it actually worked!

Thanks

Re: Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded"

Posted: 22. Nov 2016, 01:01
by phoenix_rising
How do I mark the thread solved?

Re: Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded" [solved]

Posted: 22. Nov 2016, 01:17
by Perryg
Just add [solved] to the subject line. I did it for you this time.

Re: Vbox 5.1.8 Fedora 24 "The vboxdrv kernel module is not loaded" [solved]

Posted: 22. Nov 2016, 03:11
by phoenix_rising
Thanks again!