Upgraded to latest Ubuntu, now no VM's work.
Upgraded to latest Ubuntu, now no VM's work.
I just upgraded to the latest Ubuntu version, and not my VM's don't work. I get the following error:
A critical error has occurred while running the virtual machine and the machine execution has been stopped.
A critical error has occurred while running the virtual machine and the machine execution has been stopped.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Upgraded to latest Ubuntu, now no VM's work.
If you are running Ubuntu's built-in fork of Virtualbox, you'll have to ask them. If you are running official Virtualbox from https://www.virtualbox.org/wiki/Linux_Downloads, then you probably will have to re-run the prerequisites https://www.virtualbox.org/manual/ch02. ... nux-prereq then install Virtualbox again.schoelta wrote:just upgraded to the latest Ubuntu version
-
- Posts: 8
- Joined: 17. Apr 2021, 00:53
Re: Upgraded to latest Ubuntu, now no VM's work.
Also happening here, with the virtualbox-6.1_6.1.28-147628~Ubuntu~eoan_amd64.deb from Oracle.
The typical error message is
Running vboxconfig doesn't help:
Same error.
Reinstalling doesn't help (note it already was the latest version):
Same error.
The typical error message is
Code: Select all
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
sucessful. 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.
Code: Select all
$sudo /sbin/vboxconfig
[sudo] password for user:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
Reinstalling doesn't help (note it already was the latest version):
Code: Select all
sudo dpkg -i ~/virtualbox-6.1_6.1.28-147628~Ubuntu~eoan_amd64.deb
(Reading database ... 518668 files and directories currently installed.)
Preparing to unpack .../virtualbox-6.1_6.1.28-147628~Ubuntu~eoan_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.28-147628~Ubuntu~eoan) over (6.1.28-147628~Ubuntu~eoan) ...
Setting up virtualbox-6.1 (6.1.28-147628~Ubuntu~eoan) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for bamfdaemon (0.5.5+21.10.20210710-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-1) ...
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Upgraded to latest Ubuntu, now no VM's work.
I vaguely remember that this error could come from having a mix of Ubuntu fork Virtualbox files and official Virtualbox files on the host, possibly from not uninstalling the Ubuntu-preinstalled fork first before installing the official.
Purge your host of Virtualbox installations, run the prerequisites, then the official Virtualbox again.
Purge your host of Virtualbox installations, run the prerequisites, then the official Virtualbox again.
-
- Posts: 8
- Joined: 17. Apr 2021, 00:53
Re: Upgraded to latest Ubuntu, now no VM's work.
Ah, interestingly if I do..
.. it tells me I have..
.. installed.
Hmm, why would virtualbox-dkms be a different minor version to virtualbox-6.1??
Presumably this is what it's whinging about.
Code: Select all
dpkg -l virtualbox*
Code: Select all
ii virtualbox-6.1 6.1.28-147628~Ubuntu~eoan amd64 Oracle VM VirtualBox
ii virtualbox-dkms 6.1.26-dfsg-4 amd64 x86 virtualization solution - kernel module sources for dkms
Hmm, why would virtualbox-dkms be a different minor version to virtualbox-6.1??
Presumably this is what it's whinging about.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Upgraded to latest Ubuntu, now no VM's work.
FWIW official Virtualbox does not use dkms, but the forks do, so it could be the problem.
-
- Posts: 8
- Joined: 17. Apr 2021, 00:53
Re: Upgraded to latest Ubuntu, now no VM's work.
Yes, removing those two and installing virtualbox (again again) has worked.
Hooray, I can now look at some ancient files that need a Windows 2000 program to read
Oh, and yes, virtualbox-dkms is now not showing as installed.
As part of the process, the Ubuntu upgrader comments out repositories, like download.virtualbox.org, that are listed in /etc/apt/sources.list.d/ and then does the update, so my guess is that it got installed then.
Hooray, I can now look at some ancient files that need a Windows 2000 program to read
Oh, and yes, virtualbox-dkms is now not showing as installed.
As part of the process, the Ubuntu upgrader comments out repositories, like download.virtualbox.org, that are listed in /etc/apt/sources.list.d/ and then does the update, so my guess is that it got installed then.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Upgraded to latest Ubuntu, now no VM's work.
Great, that's good news!
-
- Posts: 8
- Joined: 17. Apr 2021, 00:53
Re: Upgraded to latest Ubuntu, now no VM's work.
Thanks for the help. Uninstalling everything, and reinstalling it worked.