Score:0

How to fix “Failed to Start VirtualBox Linux kernel module” error starting Ubuntu

us flag

I was attempting to install VirtualBox in Ubuntu. It gave me an error something along the lines of "your kernel is probably out of date". That’s fine, so I go to install 5.15.7 and somehow something went very wrong because now whenever I try to boot into Ubuntu it gives this output. How can I fix this?

enter image description here

Side note: whenever I try to boot into an older kernel on the advanced boot screen in Ubuntu the screen loads, then immediately selects the first option, aka 5.15.7.

ChanganAuto avatar
us flag
Are sure it was an error message about the kernel? What usually happens, with Secure Boot enabled in UEFI, is it being unable to the required virtual drivers, namely `vboxdrv`. In such situations the easy solution is disabling Secure Boot, something you can do when dual-booting with Windows 10 but not with Windows 11, modules should be signed by MOK in order to set trust for Secure Boot.
Maxwell Windland avatar
us flag
I tried clearing the secure boot keys in the asus bios and I didn’t seem to have any effect
ChanganAuto avatar
us flag
Disabling Secure Boot is what should do it for any unsigned drivers like the ones for Nvidia or the virtual drivers for Virtualbox. Or use MOK, that is.
Maxwell Windland avatar
us flag
Did I not disable secure boot?
ChanganAuto avatar
us flag
How should I know? I'm not seeing what you're seeing. Enabling/disabling is an ON/OFF switch so if you think clearing keys disables it then no, it doesn't.
Maxwell Windland avatar
us flag
If clearing the keys doesn't disable secure boot, what does? Every article/guide I can find says to clear keys.
ChanganAuto avatar
us flag
In your firmware you should find a settings to enable/disable Secure Boot. Each one is different therefore it's not possible to tell you exactly where it can be found but please check your user's manual or online resources.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.