Maybe someone can help me as I am going round in circles.
I am running Rock 8.5 with kernel 5.17.7-1.el8.elrepo.x86_64. When I launch a VB I get the error below as soon as I start a VB.
My terminal returns :Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.You may not have kernel driver installed for kernel that is runnig, if so you may do as root: dnf install akmod-VirtualBox kernel-devel-$(uname -r)If you installed VirtualBox packages and don't want reboot the system, you may need load the kernel driver, doing as root: akmods; systemctl restart vboxdrv.service
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
Code: Select all
$ sudo dnf install akmod-VirtualBox kernel-devel-$(uname -r)
Last metadata expiration check: 4:43:51 ago on Sun 15 May 2022 12:14:36 PM CEST.
No match for argument: kernel-devel-5.17.7-1.el8.elrepo.x86_64
Error: Unable to find a match: kernel-devel-5.17.7-1.el8.elrepo.x86_64
Code: Select all
sudo dnf --enablerepo=elrepo-kernel install kernel-ml-tools-libs-devel
Last metadata expiration check: 4:45:51 ago on Sun 15 May 2022 12:14:36 PM CEST.
Package kernel-ml-tools-libs-devel-5.17.7-1.el8.elrepo.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Code: Select all
sudo yum install -y kernel*devel kernel*headers --allowerasing
Last metadata expiration check: 0:48:32 ago on Sun 15 May 2022 05:22:58 PM CEST.
Package kernel-ml-devel-5.17.7-1.el8.elrepo.x86_64 is already installed.
Package kernel-ml-tools-libs-devel-5.17.7-1.el8.elrepo.x86_64 is already installed.
Package kernel-ml-headers-5.17.7-1.el8.elrepo.x86_64 is already installed.
Error:
Problem 1: package kernel-ml-tools-libs-devel-5.17.7-1.el8.elrepo.x86_64 conflicts with kernel-tools-libs-devel < 5.17.7-1.el8.elrepo provided by kernel-lt-tools-libs-devel-5.4.193-1.el8.elrepo.x86_64
- cannot install the best candidate for the job
Problem 2: package kernel-lt-headers-5.4.193-1.el8.elrepo.x86_64 conflicts with kernel-headers < 5.4.193-1.el8.elrepo provided by kernel-headers-4.18.0-348.23.1.el8_5.x86_64
- cannot install the best candidate for the job
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Would anyone have an idea how I can move forward on this?
Many thanks