Search Suggest

How To Fix Upgrading Ubuntu Repositories VirtualBox To Oracle-Provided VirtualBox

VirtualBox driver error

When I upgraded to Ubuntu 19.10 I installed VirtualBox from the Ubuntu repositories since it was the same version as the one provided by Oracle anyway. But when I upgraded to VirtualBox 6.1 downloaded from the Oracle VirtualBox website, I noticed I couldn't start any virtual machine anymore, receiving an error.

This article explains how to properly upgrade to VirtualBox downloaded from Oracle (either by downloading it from the VirtualBox website, or installed from the Oracle VirtualBox repository) when you have the Ubuntu repositories version of VirtualBox installed on your system. This also applies to those using Ubuntu-based Linux distributions, like Linux Mint, elementary OS and Pop!_OS.

The error shown in a dialog box when upgrading from the Ubuntu repositories VirtualBox to the Oracle-provided VirtualBox:

The virtual machine 'Your machine name' 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}

Yet another dialog box opens after that, showing:

TR3InitEx 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
'/sbin/vboxconfig'
may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

Running the suggested sudo /sbin/vboxconfig command doesn't solve this issue.

Đăng nhận xét