VirtualBox error: Kernel driver not installed (rc=-1908) (running ubuntu 20.04 on a chromebook through crouton)

When I try to start a virtual machine in VirtualBox, I get the error above. I tried what it asked me to do, but it didn't work. My kernel version is 4.4.232. Also, here is the error message:

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
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.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

Also, it gave me a second error message:

The virtual machine 'linux 2' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}

And yes, I am trying to run Linux within Linux, but I know it's not that because I have tried multiple different virtual machines. Also, I am running this ubuntu 20.04 on my chromebook, so if that's the problem, I'd like a workaround for that. I set it up using crouton on howtogeek.com, if that helps.

(edit) I have had the same error messages on ubuntu 16.04 and ubuntu 18.04, so the version is not the problem. also, I noticed while reinstalling virtualbox the terminal mention that my kernel version likley belongs to a chroot's host, so that might be a problem too. If I need a different version of linux kernel, I'd like directions to do that because it's probably different for me since i'm using my chromebook.

(edit2)

For anyone who tried running virtualbox on their chromebook using crouton like I tried and got the same error, from what I've read is that on some devices the chrome os kernel does not support running virtual machines.

10

5 Answers

I got the same problem after some updates on Ubuntu 20.04. I solve this problem by manual installation of a recent version of VirtualBox 6.1.16. By default Ubuntu 20.04 installing 6.1.10.

Go there and read chapter "Debian-based Linux distributions". In brief, you should:

Add new line to the file /etc/apt/sources.list

deb [arch=amd64] focal contrib

Then type next commands

sudo wget -q -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-6.1

Probably you need to disabe "Secure Boot" in the BIOS as well.

P.S.: I was in a panic when my VirtualBox stops working. This is a very important software for me.

2

I had the exact issue. Fixed it with the following simple commands

sudo apt update

sudo apt install virtualbox

The good thing was that my existing machines were never affected; they still worked very fine.

2

I faced this problem in Ubuntu 20.04. My secure boot was already off and neither I updated my system or the Virtual Box and this issue came out of blue.

I fixed this issue by simply updating and upgrading my host machine -

sudo apt update
sudo apt upgrade

Sorry about not answering for so long (I forgot about the question) I was able to get VirtualBox working by installing Gallium OS through Mrchromebox's legacy firmware for my Chromebook.

1

Install VirtualBox 6.1.26 or grater for Linux.

There was a conflict between VirtualBox in previous versions and Ubuntu 20.04

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like