Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH on Ubuntu

I trying to install VirtualBox on Ubuntu 14.04. I've installed VirtualBox from Ubuntu repository:

sudo apt-get install virtualbox

Then I added my user to vboxusers:

sudo usermod -G vboxusers -a user

I also installed an extrapack for my vb vsion:

wget http://download.virtualbox.org/virtualbox/5.0.10/Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.vbox-extpack

sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.10-104061.vbox-extpack

But when I trying to start vm, I get an error:

RTR3InitEx failed with rc=-1912 (rc=-1912)The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing  '/etc/init.d/vboxdrv setup'may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime
what:  4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

And I have no /etc/init.d/vboxdrv file. How can I fix this problem?

like image 668
Kirill Avatar asked Dec 14 '16 15:12

Kirill


People also ask

Can I run VirtualBox on Ubuntu?

Download and install VirtualBox. On Mac OS or Windows you can download VirtualBox from the downloads page here. This page also includes instructions to download VirtualBox for Linux. However, on Ubuntu, you can find VirtualBox by simply searching for it in the Ubuntu Software app.


3 Answers

I've removed all the virualbox packages:

sudo apt-get purge 'virtualbox*'

Then I've installed virtualbox v.5

sudo apt-get install virtualbox-5.0

After that I've enabled virtualization in BIOS. Now it works.

like image 195
Kirill Avatar answered Oct 12 '22 13:10

Kirill


I had the same error starting a vm client in ubuntu 16.4 .
Error message

Coincidentally I noticed in the file /var/crash/_usr_lib_virtualbox_VirtualBox.0.crash the following message:

Title: VirtualBox crashed with SIGABRT in QMessageLogger::fatal() UnreportableReason: Sie haben einige veraltete Paketversionen installiert. Bitte aktualisieren Sie die folgenen Pakete und prüfen Sie, ob das Problem danach noch auftritt:

virtualbox-dkms

Translated: You have some outdated package versions installed. Please update the following packages and check, if the problem still occurs after that:

After the command:

sudo apt-get install --only-upgrade virtualbox-dkms

all was OK :)

like image 23
hoila Avatar answered Oct 12 '22 11:10

hoila


Check what version of virtualbox you installed

dpkg --list 'virtualbox*'

may be it's not aligned with the Extension pack.

Remove your installation

sudo apt-get autoremove 'virtualbox*'

Don't install fron Ubuntu repositories but run a fresh installation following the instuctions from official Oracle Virtualbox Download page about Debian-based Linux distributions.

Check that Virtualbox is running before installing the Extension pack.

like image 10
gile Avatar answered Oct 12 '22 11:10

gile