WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (6.0.13-300.fc37.x86_64) or it failed to
load. Please recompile the kernel module and install it by
The best way I know to use VirtualBox is to install it from rpmfusion since then it will automatically build the required kernel modules for the kernel version installed. If you install it from oracle then the user may be required to update the kernel modules manually.
A system upgrade that installs a new kernel will build the modules (if installed from rpmfusion) and a reboot will load the new kernel and the appropriate modules at the same time.