LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2024, 08:49 PM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
I can't access my vm's now that I upgraded to virtual box 7 from 6.1.50


I got this error below:

Code:
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.
I used terminal to upgrade from virtualbox 6.1.40 to 6.1.50 and I could still access all vm's.
I was not able to access any of my vm's after I upgraded from 6.1.50 to 7.0.14-161095~Debian~bullseye_amd64.deb

Now I can't access any of my vm's. I did not use my repo instead I was told here on LQ to download from Oracle for latest vb. Thanks in advance

Last edited by linux-man; 03-06-2024 at 01:55 AM.
 
Old 03-05-2024, 11:24 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,812

Rep: Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141
Start here:
https://docs.oracle.com/en/virtualiz...onfigdata.html
 
Old 03-06-2024, 12:52 AM   #3
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
I read the whole article above now what?

The error indicates the virtual machine was installed in a VirtualBox version different to my present installation version 7.0.14.
I didn't install it via official repo I was told here to go to Oracle and download version 7 from there. Is that the problem.
I also never deleted previous virtualbox 6.1.50 because I was told not here as I had vm's on it that I didn't want to lose during transition.

Is there a way to revert back from version to 6.1.50?
will this work to remove version 7 (see below)?
Code:
sudo apt-get autoremove --purge virtualbox-7.0.14 r161095
The Oracle links says:
typical location on Linux and Oracle Solaris is /home/username

So I am meant to be looking here (below):

Code:
linux@linux]─[/home]
└──╼ $pwd
/home
┌─[linux@linux]─[/home]
└──╼ $ls
linux
Quote:
a virtual machine and its settings are described in a virtual machine settings file in XML format

he XML settings file, with a .vbox file extension, and its disk images. This is called the machine folder.
I meant to be looking for one of these two?:
Default machines folder and
$HOME/VirtualBox VMs

Although it says in the link not to:
Quote:
... We therefore strongly suggest that you do not edit these files manually.
And your implying I should be editing?

Last edited by linux-man; 03-06-2024 at 01:46 AM.
 
Old 03-06-2024, 01:01 AM   #4
___
Member
 
Registered: Apr 2023
Posts: 140
Blog Entries: 1

Rep: Reputation: Disabled
Are you 100.00% sure that you removed all traces of other Vbox versions? (man locate)
(not things under your $HOME, which is where your VMs are)
 
Old 03-06-2024, 01:16 AM   #5
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ___ View Post
Are you 100.00% sure that you removed all traces of other Vbox versions? (man locate)
(not things under your $HOME, which is where your VMs are)
No I did not.
I think I was told not to here on LQ. If I removed all trace of the older virtualbox what would become of all the vm's I had removed?
 
Old 03-06-2024, 01:20 AM   #6
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Would this help?
Quote:
Check if virtualbox-dkms is installed:
If yes, then delete it and install dkms
Should I go ahead with this below?
Code:
dpkg -l | grep virtualbox-dkms

sudo apt-get purge virtualbox-dkms && \
sudo apt-get install dkms
Rebuild VirtualBox kernel modules:

sudo /sbin/vboxconfig
Perhaps a case of two separate versions of VirtualBox installed being on my system? What happens to all my vm's if I did this below?:
Code:
 sudo apt-get autoremove 'virtualbox*'

checked to see if I have vbox modules loaded:
Code:
──╼ $lsmod | grep vbox
vboxnetadp             28672  0
vboxnetflt             32768  0
vboxdrv               561152  2 vboxnetadp,vboxnetflt
checked to see if correct version below:
Code:
modinfo vboxdrv
filename:       /lib/modules/6.0.0-2parrot1-amd64/updates/dkms/vboxdrv.ko
version:        6.1.40_Parrot r154048 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     013A6B9C7C5CF3C51AF1D12
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       6.0.0-2parrot1-amd64 SMP preempt mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)

Should I remove modules in the dkms folder? Maybe VB 6.1.50 and older places modules in misc while VB 7.0 stores them in dkms folder?

Maybe a case of vb being 32-bit architecture while running 64-bit operation system which can be the cause of this problem? I installed via Oracle site, does it site feed the correct download automatically detecting your 64 bit machine?

Am I meant to be loading any new modules into the kernel. Which kernels which modules?

If the old vboxdrv mod does not get removed with sudo apt autoremove --purge virtualbox*
then I'll have to remove it manually via vboxdrv.ko from "/lib/modules/$(uname -r)/updates/dkms/".r)/updates/dkms/".
I will need your help doing that so as to not dig myself into a deeper hole.

Last edited by linux-man; 03-06-2024 at 01:45 AM.
 
Old 03-06-2024, 03:41 PM   #7
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Can I get some hints on how to solve this please?

Would this be the way to go in terminal or am i able to just use copy and paste in gui?
Quote:
copy your .vdi file to a directory where VirtualBox will be able to access it
run VirtualBox and create a new virtual machine
choose Ubuntu Linux as the operating system and click "Next"
under the "Virtual Hard Disk" option, choose "Use existing hard disk". This will open the "Virtual Media Manager".
in the Virtual Media Manager, click the "Add" button and select the .vdi file that you copied, then click "Next"
configure the rest of the virtual machine as you would like it to be
start the virtual machine
So long as the .vdi file has not been corrupted, it will work just fine.
Would the steps below be the way to go?
Quote:
Create new machine
instead of selection iso you select "Use an existing Virtual Hard Disk File" aka VDI file.
Click the Folder icon to open the Hard Disk Selector window and click Add to browse the VDI file. Once selected, click Choose to proceed.
Once everything looks good, click Finish to continue.
Quote:
VDIs are virtual hard disk images you can import or add to your existing virtual machine.It gets created when you first created a hard disk image and allocated storage during configuration steps or vb wizard process.

VDIs are portable and you can use them to run an operating system without going through the cumbersome installation process.

Last edited by linux-man; 03-06-2024 at 05:11 PM.
 
Old 03-14-2024, 06:45 PM   #8
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Can I get some hints?
 
Old 03-14-2024, 08:07 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,812

Rep: Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141
Cast your support net wider....
https://forums.virtualbox.org/index.php
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Issues trying to install Virtual Box Guest Additions on RHEL v6.5 in Virtual Box JockVSJock Linux - Virtualization and Cloud 4 07-13-2015 09:14 PM
Slackware 13.37 and Virtual Box 4.1 / Virtual Box 4.012 chris_kzn Slackware 4 07-29-2011 01:51 AM
[SOLVED] just upgraded virtual box on linux and windows and they both have kernel driver error smeezekitty Linux - Software 6 10-30-2009 12:27 PM
upgraded box now can't load slack dufferin Slackware 15 04-05-2009 07:27 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration