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

Discussions related to using VirtualBox on Linux hosts.
Post Reply
phoenix_rising
Posts: 7
Joined: 21. Nov 2016, 05:47

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

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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.
phoenix_rising
Posts: 7
Joined: 21. Nov 2016, 05:47

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

Post 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
phoenix_rising
Posts: 7
Joined: 21. Nov 2016, 05:47

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

Post by phoenix_rising »

How do I mark the thread solved?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

Just add [solved] to the subject line. I did it for you this time.
Post Reply