VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH on Ubuntu

21,830

Solution 1

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.

Solution 2

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.

Solution 3

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

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 :)

Share:
21,830

Related videos on Youtube

Kirill
Author by

Kirill

Updated on January 06, 2020

Comments

  • Kirill
    Kirill over 3 years

    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?

  • Mauro Aguilar
    Mauro Aguilar over 4 years
    Really helpful, this was the only thing that worked for me. Thanks!
  • Jimmy Olano
    Jimmy Olano over 3 years
    My case: I had mixed versions 6.1.2 but 5.2.34 for others, so: «sudo apt remove virtualbox-guest-utils» «sudo apt remove virtualbox-guest-x11» «sudo apt remove virtualbox-qt» and fixed! (THX!)
  • frank3stein
    frank3stein over 2 years
    This worked for me, I am using Ubuntu 18.04 and I have Virtualbox installed for minikube and the GUI app. After running the only upgrade and then running sudo /sbin/vboxconfig it was solved
  • mbkfa93
    mbkfa93 over 2 years
    Thanks, that seemed to work. I had also mixed versions as a result of trying to install virtualbox via apt-get, and later installed it via the .deb from the official downloads. Removing the older version and installing the downloaded .deb seemed to work fine

Related