Ask Your Question
1

VirtualBox and the "modprobe vboxdrv failed" problem

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

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/vboxdrv.sh setup), i got an error:

"vboxdrv.sh: 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

Comments

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 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
2

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

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
2

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

aeperezt gravatar image

You have a better chance with http://rpmfusion.org/Howto/VirtualBox 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

Comments

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

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

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

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

Comments

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

Bruno Freitas gravatar imageBruno Freitas ( 2018-09-10 06:33:11 -0600 )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

Stats

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

Seen: 5,675 times

Last updated: Sep 28 '16