Thank you very much for your reply. Sadly I was unable to get it running. I detail you the steps I took to use the Official Virtual Box.
1.- Cleaning. I removed old kernel packages and all the versions of the linux headers and modules that did not correspond to the running kernel. Right now it looks like this:
Code: Select all
$ uname -r
5.19.0-32-generic
$ dpkg -l \*linux*5* | grep ii
ii linux-headers-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Linux kernel headers for version 5.19.0 on 64 bit x86 SMP
ii linux-hwe-5.19-headers-5.19.0-32 5.19.0-32.33~22.04.1 all Header files related to Linux kernel version 5.19.0
ii linux-image-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Signed kernel image generic
ii linux-modules-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
ii linux-modules-extra-5.19.0-32-generic 5.19.0-32.33~22.04.1 amd64 Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
I also removed anything that had to do with virtualbox from the Ubuntu repositories:
Code: Select all
apt purge dctrl-tools dkms virtualbox virtualbox-dkms virtualbox-qt
2.- Pre-requisites. I ensured that the versions of sdl, qt, gcc and make were adequate. Secure boot is disabled.
Code: Select all
$ dpkg -l libqt\* | grep ii
ii libqt5core5a:amd64 5.15.3+dfsg-2ubuntu0.2 amd64 Qt 5 core module
ii libqt5dbus5:amd64 5.15.3+dfsg-2ubuntu0.2 amd64 Qt 5 D-Bus module
ii libqt5gui5:amd64 5.15.3+dfsg-2ubuntu0.2 amd64 Qt 5 GUI module
[...]
$ dpkg -l libsdl\* | grep ii
ii libsdl1.2debian:amd64 1.2.15+dfsg2-6 amd64 Simple DirectMedia Layer
$ gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
[...]
$ make --version
GNU Make 4.3
[...]
3.- Instalation. I chose the virtualbox-7.0_7.0.6-155176~Ubuntu~jammy_amd64.deb from virtualbox-7.0_7.0.6-155176~Ubuntu~jammy_amd64.deb and upon installation there were no errors, but I recompiled the drivers again anyway.
Code: Select all
$ sudo dpkg -i virtualbox-7.0_7.0.6-155176~Ubuntu~jammy_amd64.deb
$ sudo rcvboxdrv setup
4.- Execution. Sadly after all these steps I still get the error.
Code: Select all
$ vboxmanage startvm test
Waiting for VM "test" to power on...
VBoxManage: error: The virtual machine 'test' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
I hope this information can give you more insight into my problem.
Thanks again!
Esteban