Virtualbox not working after update on Fedora
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.
I received this error after I tried to open my VM:
"VirtualBox Error : Kernel Driver not installed(rc=-1908)"
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing.
'/sbin/vboxconfig'
as root
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, after I entered this command as root, I received an error:
vboxdrv.sh failed: Look at /var/log/vbox-setup.log to find out what went wrong.
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:
[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:
1. yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
2. Then reboot and try: sudo /etc/init.d/vboxdrv setup
3. again. If that doesn't work, try: sudo modprobe vboxdrv
4. 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:
1.
[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!
2,3,4:
[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
Hope to find a solution from you, guys! Sorry for your time.... I find many solutions online, but most of them was for ubuntu, so I am a bit stuck here. Got an imporant files on my VM, so I can't just reinstall it...
|