Page 1 of 1

Virtualbox not working after update on Fedora

Posted: 12. Feb 2020, 13:57
by Peace
Hello, guys!

Sorry if I will interrupt anyone with a repeatedly asked question, but I was not able to find a solution on Fedora based Linux system, and I hope that I will find one here.

So basically, yesterday I did sudo yum -y update, and today I was receiving an error that my Kernel is not installed.

"VirtualBox Error : Kernel Driver not installed(rc=-1908)"

where: sublib0sInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

They recommend me to use this command: /sbin/vboxconfig to fix the problem, but it does nothing.

I tried this method:

Get your version kernel:

$ uname -r

Then find the corresponding kmod-VirtualBox-* package:

$ yum search kmod-VirtualBox

and install it:

$ yum install kmod-VirtualBox-#### appropriate version from list in previous step

Finally, run:

$ /etc/sysconfig/modules/VirtualBox.modules

This is what I received:

Code: Select all

[root@local ~]# uname -r
5.4.17-200.fc31.x86_64
[root@local ~]# yum search kmod-VirtualBox
Warning: failed loading '/etc/yum.repos.d/pidgin.repo', skipping.
Last metadata expiration check: 1:08:59 ago on Wed 12 Feb 2020 10:09:46 AM CET.
No matches found.
[root@local ~]# /etc/sysconfig/modules/VirtualBox.modules
-bash: /etc/sysconfig/modules/VirtualBox.modules: No such file or directory
I tried other method:

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
then reboot, and try your

Code: Select all

sudo /etc/init.d/vboxdrv setup
again. If that doesn't work, try:

Code: Select all

sudo modprobe vboxdrv
then try the setup command again.

This is what i GET. and that Pidgin repo is bugged somehow, tried to reach a method how to remove it, but I was not able to do it:

Code: Select all

[root@localhost ~]# yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Warning: failed loading '/etc/yum.repos.d/pidgin.repo', skipping.
Last metadata expiration check: 1:13:18 ago on Wed 12 Feb 2020 10:09:46 AM CET.
Package dkms-2.7.1-2.fc31.noarch is already installed.
Package binutils-2.32-31.fc31.x86_64 is already installed.
Package gcc-9.2.1-1.fc31.x86_64 is already installed.
Package make-1:4.2.1-15.fc31.x86_64 is already installed.
Package patch-2.7.6-11.fc31.x86_64 is already installed.
Package libgomp-9.2.1-1.fc31.x86_64 is already installed.
Package glibc-headers-2.30-10.fc31.x86_64 is already installed.
Package glibc-devel-2.30-10.fc31.x86_64 is already installed.
Package kernel-headers-5.4.7-200.fc31.x86_64 is already installed.
Package kernel-devel-5.3.8-300.fc31.x86_64 is already installed.
Package kernel-devel-5.4.17-200.fc31.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Code: Select all

[root@local ~]# sudo /etc/init.d/vboxdrv setup
sudo: /etc/init.d/vboxdrv: command not found
[root@localhost ~]# sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.4.17-200.fc31.x86_64
[root@localhost ~]# virtualbox update
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.4.17-200.fc31.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.

[root@local ~]# sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may 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.

[root@local ~]# etc/init.d/vboxdrv setup
-bash: etc/init.d/vboxdrv: No such file or directory
I have an important files on my VM, so I am not able to just make a quick remove and install procedure. Hope to find a solution! Sorry for your time, guys!