I recently attempted to Hold/Lock a specific kernel in place on openSUSE TW. My hardware is 32 bit so I am currently inhibited by having to load a specific kernel-release (a newer release is not allowing the computer to boot). See the following link if you are interested in more details on the filed bug report: -> https://bugzilla.opensuse.org/show_bug.cgi?id=1185542

I edited the following file with Kate text editor /etc/zypp/zypp.conf scrolled down to line 554 and edited the following entry to: multiversion.kernels = latest,running,5.11.16-1-pae

" Keep the last two kernels and the one currently running.

multiversion.kernels = latest,running,5.11.16-1-pae "

I saved the edited file and closed Kate. I then opened /etc/zypp/zypp.conf and verified that in fact the entry I created had been saved. Then I powercycled the computer (maybe twice I am not certain-most likely only once). Needless to say that the boot menu has no more listing for "kernel-5.11.16-1-pae". There were 2 listing's for kernel-5.12.series (both unbootable).

I have been reviewing the following link concerning this: > https://documentation.suse.com/sles/12-SP4/html/SLES-all/cha-tuning-multikernel.html


1. I really would like to ask as to if the reason for failing to hold the "kernel-5.11.16-1-pae" was/is this because of the fact I edited the zypp.conf file's entry incorrectly by adding the "kernel-flavor" suffix (5.11.16-1-pae <-Not Entering-> 5.11.16-1) instead?

2. What is the best way to Hold/Lock the running kernel?

3. is YaST2 sometimes used for this task?

Thanks :|