I’ve done several upgrades from F36 to F37 and mostly works flawless, except that VirtualBox doesn’t want to start, due to missing vboxdrv module.
Gives an error: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.0.8-300.fc37.x86_64
I’ve checked and module is present
#ls /lib/modules/6.0.8-300.fc37.x86_64/extra/VirtualBox
drwxr-xr-x 2 root root 4096 Nov 16 01:36 .
drwxr-xr-x 3 root root 4096 Nov 16 01:36 ..
-rw-r--r-- 1 root root 146840 Nov 16 01:34 vboxdrv.ko.xz
-rw-r--r-- 1 root root 5132 Nov 16 01:34 vboxnetadp.ko.xz
-rw-r--r-- 1 root root 13856 Nov 16 01:34 vboxnetflt.ko.xz
as all seems the same with F36 where it was working normally
#ls /lib/modules/6.0.8-200.fc36.x86_64/extra/VirtualBox/ -al
drwxr-xr-x 2 root root 4096 Nov 15 18:31 .
drwxr-xr-x 3 root root 4096 Nov 15 18:31 ..
-rw-r--r-- 1 root root 146808 Nov 15 18:31 vboxdrv.ko.xz
-rw-r--r-- 1 root root 5132 Nov 15 18:31 vboxnetadp.ko.xz
-rw-r--r-- 1 root root 13852 Nov 15 18:31 vboxnetflt.ko.xz
when i try #modprobe vboxdrv I get same response that module not found. Secure boot is not on in Bios, as it wouldn’t work even before.
Probably something changed in Fedora 37 that prevents module from loading, but it’s strange that it reports how module not found when it’s there
I have also tried to reinstall kernel module:
I had a similar problem after I did the dnf system-upgrade.
I went through a process on uninstalling VirtualBox and akmod packages, then installed the lastest versions using --enablerepo=updates-testing, and now things are working.
I am using the packages from rpmfusion, I am not installing direct from the website.
I’ve done uninstalling and did list of VirtualBox versions dnf list --enablerepo=updates-testing VirtualBox
but it only shows version 6.1.40.
Did you install via dnf or directly downloading rpms?
In my case, after updating from F36 to F37 the system finished with a mix of virtualbox packages and versions coming from different types of prior installations.
I realized that the system kept an Oracle repository in /etc/yum.repos.d/virtualbox.repo from a previous installation attempt I tried in the past, so I decided to ignore it and only use the packages from @rpmfusion-free repository (not the testing one).
So, I removed all virtualbox packages listed with the following command:
If someone else hits your post with the same problem, I think it would be helpful stating in your initial post that you are using VirtualBox from rpmfusion repo (and not from virtualbox repo). It can be seen by the package name but that wouldn’t be obvious to everyone.
Thanks.
I’ve managed to get it working the v 7.0.2. When I put --enablerepo=rpmfusion-free-updates-testing VirtualBox before list or install than it showed versions.
I had to play around with extensions, to be able to start VM.
So I’ve done:
I was able to modprobe vboxdrv right away, but looks like there are extra modules that needed to be loaded, as it was givinig me an error about NET, but after reboot. It started VMs with no problems.
I’ve done an upgrade on another machine, and this time upgrade went fine, and VirtualBox was upgraded to 7.0.2 without rpmfusion-testing repo, so it looks like this issue has been solved