How do I install an old kernel?


Ever since I upgraded my kernel to 5.2.x, I have been having issues with graphics. There is an associated bugzilla ticket:
Unfortunately all my installed kernels are at 5.2.x and so far the graphics issue remains. Is there a way to reinstall kernel 5.1.x?
I did try to lock the 5.1.x kernel prior to updating using the dnf versionlock plugin but it would fail because it would fail to find kernel packages.


You can find a list of all kernels built for F30 here: (There you can select a kernel and click on Builds).

You can download all kernels that have been built for F30 from here:

Then, simply use dnf to install them.

Alternatively, you can use koji download-build <package-name> to download the package directly, no browsing involved. I would recommend that method.

Here is an example:
1.) mkdir kerneldownload
2.) cd kerneldownload
3.) koji download-build --arch=x86_64 kernel-5.1.20-300.fc30
4.) sudo dnf install ./kernel-*


Thanks for the reply florian!
I followed the koji instructions and I was able to install the 5.1.x kernel.
Appreciate the help!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.