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
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:
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.
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: