Ask Your Question

Revision history [back]

Fedora 29 keep specific kernel

I need to keep a specific version of a kernel (e.g. 5.0.7-200.fc29.x86_64) due to compatibility issues with latest ones.

A search returned How to tell yum to keep an old kernel when updating the kernel? but that no longer seems to work ( sudo: yumdb: command not found)

I also see I can keep n number of past kernels installonly_limit=5 but only 3 kernels being saved but what I would like to do is ensure that I can always revert to this working kernel even if 10 new kernels are released.

How can I tell dnf to save, and ideally keep listed in boot menu, my working kernel?