Linux kernel module load virtualbox

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. 
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

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. 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 mentions that my kernel version likely belongs to a chroot’s host, so that might be a problem too. If I need a different version of the Linux kernel, I’d like directions to do that because it’s probably different for me since I’m using my chromebook. 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.

Читайте также:  Linux mint 20 настройка vlan

Источник

CentOS

[SOLVED]virtualbox — can’t load kernel module

[SOLVED]virtualbox — can’t load kernel module

Post by DT3 » 2016/09/16 13:25:51

I’m trying to run Virtualbox 5.1 on CentOS 7
When i attempt to open session for a new machine error appears. Message points me to run /sbin/vboxconfig but it fails.
I have installed dkms, added mu username to group vbox users, tried /sbin/vboxconfig , rcvboxdrv setup, /usr/lib/virtualbox/vboxdrv.sh setup
all my attmepts failed.
Tried to manually load module

# systemctl start vboxdrv Job for vboxdrv.service failed because the control process exited with error code. See "systemctl status vboxdrv.service" and "journalctl -xe" for details. [root@localhost log]# systemctl status vboxdrv.service ● vboxdrv.service - VirtualBox Linux kernel module Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2016-09-16 15:09:59 CEST; 1min 39s ago Process: 8821 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=1/FAILURE) Sep 16 15:09:08 localhost.localdomain vboxdrv.sh[8821]: vboxdrv.sh: Starting VirtualBox services. Sep 16 15:09:08 localhost.localdomain vboxdrv.sh[8875]: Starting VirtualBox services. Sep 16 15:09:08 localhost.localdomain vboxdrv.sh[8821]: vboxdrv.sh: Building VirtualBox kernel modules. Sep 16 15:09:08 localhost.localdomain vboxdrv.sh[8895]: Building VirtualBox kernel modules. Sep 16 15:09:59 localhost.localdomain vboxdrv.sh[8821]: vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why. Sep 16 15:09:59 localhost.localdomain vboxdrv.sh[11132]: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why. Sep 16 15:09:59 localhost.localdomain systemd[1]: vboxdrv.service: control process exited, code=exited status=1 Sep 16 15:09:59 localhost.localdomain systemd[1]: Failed to start VirtualBox Linux kernel module. Sep 16 15:09:59 localhost.localdomain systemd[1]: Unit vboxdrv.service entered failed state. Sep 16 15:09:59 localhost.localdomain systemd[1]: vboxdrv.service failed. [root@localhost log]# 
[root@localhost log]# /usr/lib/virtualbox/vboxdrv.sh setup vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

This is behind my current abilities (i’m just Linux user), not sure wht to do next to make Virtualbox working. What should I look for in dmesg?
Any help appreciated

Читайте также:  Linux чем занят сервер

Источник

VirtualBox kernel modules do not match this version of VirtualBox

enter image description here

While using VirtualBox, I am getting the error shown in the picture. I executed the command suggested, but still I am getting the error.

Welcome to AskUbuntu. If you write out the error message it will be easier for you to find a resolution. The system will even give suggestions where the same errors has been resolved by others. You loose this potential by using pictures rather than text. Also the images takes up a lot of unnecessary space on the server. Try to user images when text won’t suffice. In this case the specific text error is clear.

These instructions work for Ubuntu 17.10: sudo apt-get autoremove sudo /sbin/vboxconfig from this post on VirtualBox Forums

4 Answers 4

The image in the picture is giving you this error message: rtr3initex failed with rc=-1912 (rc=-1912) Ubuntu

It’s telling you you have a mismatched install. Your kernel modules do not match your installed version . The kernel modules are packaged in virtualbox-dkms in the repository.

You have most likely installed it from the repository. But failed to install all the modules, or you installed it, performed and upgrade and the modules didn’t get completely upgraded during one of your system’s updates. You can fix this by uninstalling it and reinstalling it, which will install the necessary modules. You do this with:

$ sudo apt remove --purge virtualbox $ sudo apt install virtualbox $ sudo apt install virtualbox-dkms 

Completely removing virtualbox and it’s dependencies will not affect your VM’s. Just the applicaton itself.

Читайте также:  Загрузить linux в консольном режиме

Alternatively you can download the latest version of Virtualbox from http://Virtualbox.org. The download page for linux is: https://www.virtualbox.org/wiki/Linux_Downloads.

You can append this to your /etc/apt/sources.list file to add the official developers repository:

deb http://download.virtualbox.org/virtualbox/debian xenial contrib 

You can download and add the security key with:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - 

Then grade what you currently have with:

$ sudo apt update $ sudo apt upgrade 

If you purged the previous version then reinstall it with this after the upgrade command above:

$ sudo apt install virtualbox 

If you download and install from virtualbox.org the kernel modules for the developers version will automatically be compiled and installed.

Источник

Оцените статью
Adblock
detector