with .log file attached, but thought I should also provide a quick ‘heads up’ in this forum, as I doubt I’ll be the only user affected by this problem. And now, off to restore the earlier snapshot …
Hi
You should have at least two unless you changed default settings? Reboot the system and in the grub menu select advanced where you should be able to boot the previous kernel.
=== Building 'vboxdrv' module ===
make[1]: Entering directory '/usr/src/kernel-modules/virtualbox/src/vboxdrv'
/usr/src/kernel-modules/virtualbox/src/vboxdrv/Makefile-header.gmk:193: *** Error: unable to find the headers of the Linux kernel to build against (KERN_DIR=/lib/modules/5.12.13-1-default/build).
Specify KERN_VER=<version> (currently 5.12.13-1-default) and run Make again. Stop.
make[1]: Leaving directory '/usr/src/kernel-modules/virtualbox/src/vboxdrv'
make: *** [Makefile:59: vboxdrv] Error 2
Problem: nothing provides 'kernel-devel = 5.12.13-1' needed by the to be installed kernel-default-devel-5.12.13-1.1.x86_64
Solution 1: do not install kernel-default-devel-5.12.13-1.1.x86_64
Solution 2: break kernel-default-devel-5.12.13-1.1.x86_64 by ignoring some of its dependencies
Hi
my proposal is that, there should be a check so that to stop installation of a kernel, if anyone has installed a program that should not work after installing new kernel.
Not clear to me which version of VirtualBox you have installed, anyway:
1- if you installed the openSUSE build of VBox you should install also virtualbox-kmp-default matching the kernel you want to use (5.12.13 here);
2- if you installed the Oracle VBox and need to build the matching kernel modules, you need to install kernel-devel available here and kernel-default-devel matching your kernel (again 5.12.13 in this example).
Hi, I am in the same situation but I am not very confindent with grub configuration changing. Could you detail little bit more where I should put this line?
Do you mean I have to add it at the end of the /etc/default/grub file?
Have I to issue an update-grub command or similar?
Hi
Fire up YaST -> Bootloader -> Kernel Parameters tab , add the above into the Optional Kernel Command Line parameters. Click ok and grub will be updated for you