Ask Your Question

VirtualBox and the "modprobe vboxdrv failed" problem

asked 2016-09-26 19:04:19 -0500

fullcowl gravatar image

Hey Guys, this is my first day using Linux (Fedora 24) and i have looked through several Guides and Videos to install VirtualBox 5.1 on my System. I followed this Guide step by step, and had no Problems so far.

I installed the Fedora Files, updated (dnf update) and installed the dependency packages (dkms etc). The Kernel Versions matched after i rebooted. The Installation was also successful.

But after i wanted to "rebuild the kernels" (/usr/lib/virtualbox/ setup), i got an error:

" failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why."

I used the dmesg command, but since i started today i do not understand a thing... I will attach it to the post. And i read many threads, which had the same problems, but nothing seems to work.

If you need any further information, tell me and i will post them. I really want to get this to work, since i spend more than 10 hours today to get it to work...

edit retag flag offensive close merge delete


Dude thanks, due to your link and several Links after, i was able to disable SecureBoot which was the main reason. It works now!! thank you!

fullcowl gravatar imagefullcowl ( 2016-09-27 05:58:31 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2016-09-28 02:31:35 -0500

jake gravatar image

Hello folks!

It's not essential to disable UEFI-SecureBoot. You can sign the kernel module with your own key, then enrol that key for booting. That's some hardcore hacking but if your interested, take a look at Signing Kernel Modules for Secure Boot.

greets jake

edit flag offensive delete link more

answered 2016-09-26 23:22:04 -0500

aeperezt gravatar image

You have a better chance with if you want VirtualBox, I will recommend to use virt-manager using kvm as engine. It works out of the box and is supported by Fedora folcks.

edit flag offensive delete link more


Can you explain a bit more. Im very new and do not understand... I have the same problem failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

claupah gravatar imageclaupah ( 2017-02-27 13:30:17 -0500 )edit

answered 2016-09-27 06:05:09 -0500

fullcowl gravatar image

Guys, for me the solution was to turn off the Secure Boot in my BIOS. To do that i had to set a "superviser password" first, in order to get permission to change the SecureBoot.

I guess its different for every laptop/computer just look it up on the internet, how to disable SecureBoot for your Computer, and one possible problem is out of the way!!

edit flag offensive delete link more


Hi! Thanks so much!!!!!!!!!

Bruno Freitas gravatar imageBruno Freitas ( 2018-09-10 06:33:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-09-26 19:04:19 -0500

Seen: 6,270 times

Last updated: Sep 28 '16