VirtualBox with secure boot

I have secure boot on in my bios. Because it’s saver and I also have Windows 11 installed in dual boot. I use Windows mainly for gaming.

I can’t use VirtualBox now because I have issues because of secure boot. But I wanna keep my secure boot and also want to use secure boot in VirtualBox.

The solution seems to be:

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.

But I can’t find anywhere how I should do that. Anybody have an idea and suggestion for me. Would be hightly appreaciated.

This recent post provides a solution to exactly the situation you have.
https://discussion.fedoraproject.org/t/trouble-signing-kernel-modules-for-virtualbox/71393

1 Like