How do I install an old kernel?

Hello,

Ever since I upgraded my kernel to 5.2.x, I have been having issues with graphics. There is an associated bugzilla ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1739863
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.

Thanks!

You can find a list of all kernels built for F30 here: https://bodhi.fedoraproject.org/updates/?packages=kernel&release=F30 (There you can select a kernel and click on Builds).

You can download all kernels that have been built for F30 from here: https://koji.fedoraproject.org/koji/packageinfo?packageID=8.

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-*

3 Likes

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.