Update to 7.4 from 6 falls over. Guest O/s not working

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ozstar
Posts: 28
Joined: 26. Nov 2022, 07:26

Update to 7.4 from 6 falls over. Guest O/s not working

Post by ozstar »

Hi,

I thought I followed the instructions correctly however something has gone awry.

Everything says VB 7 is loaded okay but when I try to start my Linux guest o/s I get the following error.

The initial 6.138 VB was installed from the Linux Zorin 16.2 (ubuntu 20.04)options then updated ti now.
This update was from the VB official download page selecting ubuntu 20.04
$ sudo vboxmanage --version
[sudo] password for david7500:
7.0.4r154605

This from command suggested.
$ /sbin/vboxconfig
rm: cannot remove '/sbin/rcvboxdrv': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxdrv': File exists
/sbin/vboxconfig: 165: cannot create /lib/systemd/system/vboxdrv.service: Permission denied
rm: cannot remove '/sbin/rcvboxballoonctrl-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxballoonctrl-service': File exists
/sbin/vboxconfig: 165: cannot create /lib/systemd/system/vboxballoonctrl-service.service: Permission denied
rm: cannot remove '/sbin/rcvboxautostart-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxautostart-service': File exists
/sbin/vboxconfig: 165: cannot create /lib/systemd/system/vboxautostart-service.service: Permission denied
rm: cannot remove '/sbin/rcvboxweb-service': Permission denied
ln: failed to create symbolic link '/sbin/rcvboxweb-service': File exists
/sbin/vboxconfig: 165: cannot create /lib/systemd/system/vboxweb-service.service: Permission denied
Failed to enable unit: Access denied
Failed to enable unit: Access denied
ln: failed to create symbolic link '/sbin/vboxconfig': Permission denied
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: failed: Cannot unload module vboxnetadp.

There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig

as root. If your system is using EFI Secure Boot you may 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.
~$ sudo /sbin/vboxconfig
[sudo] password for david7500:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.




How do I correct please?
RTR3InitEx failed with rc=-1912 (fRtFlags=0x10000) (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.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Update to 7.4 from 6 falls over. Guest O/s not working

Post by scottgus1 »

I think this means you have a mix of Linux distro forked-Virtualbox kernel drivers and official Virtualbox programs.
ozstar wrote:The initial 6.138 VB was installed from the Linux Zorin 16.2 (ubuntu 20.04)options then updated ti now.
This update was from the VB official download page selecting ubuntu 20.04
Try purging everything related to Virtualbox from your host, except Virtualbox.xml and the VMs. Then run the prerequisites and official Virtualbox install again https://www.virtualbox.org/manual/ch02. ... nux-prereq.
ozstar
Posts: 28
Joined: 26. Nov 2022, 07:26

Re: Update to 7.4 from 6 falls over. Guest O/s not working

Post by ozstar »

Thank you scottgus1.

I don't mind doing the dirty deed and purging but the last thing I need is to lose all my work, folders etc.
I see I have 5.15.0-56-generic

Zorin OS 16 is based on Ubuntu 20.04. 2 LTS and comes equipped with the Linux 5.11 kernel.
The distro uses a customised version of GNOME Shell 3.38 for its desktop interface, and is pre-populated with a plethora of apps, tools, and programmes.
What Linux command do you suggest to leave all my stuff alone for import to VB7?

Then what version of VB 7, the ubuntu 20.04 as listed on the download page?

Once I know that I will bite the bullet. !
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Update to 7.4 from 6 falls over. Guest O/s not working

Post by scottgus1 »

ozstar wrote:the last thing I need is to lose all my work, folders etc.
A full host disk image or two will cover that. You're making those already: all computer users who have important data do that.

Also:
scottgus1 wrote:Try purging everything related to Virtualbox from your host, except Virtualbox.xml and the VMs.
Not deleting these preserves the VMs, as well as the list of VMs & settings in the main Virtualbox window. Which covers this:
ozstar wrote:import to VB7
ozstar wrote:What Linux command do you suggest
I don't know this, unfortunately. A forum Linux guru may be able to help.

7.0 is very new and has some bugs. If you must have the VMs running well, stay on 6.1 Official Virtualbox for now.
ozstar
Posts: 28
Joined: 26. Nov 2022, 07:26

Re: Update to 7.4 from 6 falls over. Guest O/s not working

Post by ozstar »

Thank you again scottgus1. Yes we have the disk images.

I will purge the non functioning VB and reinstall 61 as you suggest. It was just that 7 gets a good review rap and it seems like many things were auto done rather than having to navigate the adding.
Anyway maybe later we'll get to 7

Thanks again, appreciate your honesty.
ozstar
Posts: 28
Joined: 26. Nov 2022, 07:26

Re: Update to 7.4 from 6 falls over. Guest O/s not working

Post by ozstar »

I was able to finely purge all VBs which were installed and just as I was about to install 61, I thought, I'd give 7 a go with a clean system instead of the update I did before.

So far it is working very well without any sign of problem, so hopefully they will not come :-)
Post Reply