DEV Community

Victor O. Alvarez Torres
Victor O. Alvarez Torres

Posted on • Originally published at voalvarez.wordpress.com on

1

Fedora linux, VirtualBox and secure-boot

Today after installing and trying to run Virtual Box on Fedora 25, I noticed that since secure-boot prevents unsigned kernel modules from running, it can be disabled as an easy solution to running VirtualBox on Fedora 25.

Two explanations from this fedora forum link :

Ok it won’t work, as I said above…

Then I had a look in the bios, and I saw that the Secure Boot is enable (there was Windows 8 on this computer before…) I disabled it just in case, and then it works

Yes, secure boot could have a definite impact if the virtualbox kernel module isn’t signed. That is exactly what secure boot is supposed to prevent.

With secure boot, your kernel and all kernel modules have to be signed.

Now this is where things get tricky or flat out painful.

You kernel is signed by Fedora using their key. Fedora isn’t going to sign the virtualbox drivers, especially since it goes against their FOSS policy. Oracle can’t sign virtualbox using Fedora’s key.

So, you are pretty much left with 2 options.

1: Disable secure boot

or

2: get your own key and sign everything yourself.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay