Installing an 5.10 LTS Kernel in Fedora 35

Help me with the installation of Linux Kernel 5.10 LTS in Fedora 35.
I tried to install it from Fedy which had made it appear in the GRUB menu but when I tried to start my session through it it’s prompting to make a change in config files of grub. Can anyone tell me the more straight way like through the rpm package manager.

Fedora does not provide, nor build a 5.10 series kernel for F35, see https://koji.fedoraproject.org/koji/packageinfo?packageID=8
If you want that kernel, you may have to download the source, and build it yourself.

For Fedora 35, 5.10 is already sort of old, your are missing out on newer features that the supported kernels (5.14 and soon 5.15) provide.

Is there any reason why want the 5.10 kernel?

1 Like

There is a copr for it. This person has been maintaining LTS kernels for fedora for quite a while.

https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-5.10/

sudo dnf copr enable kwizart/kernel-longterm-5.10
sudo dnf install kernel-longterm

Of course, you should be aware that this isn’t an official Fedora package.

3 Likes

A post was split to a new topic: How do I diagnose a Bluetooth problem on Fedora Linux?

Once again for a suggestion, if I install an LTS kernel will it increase my stability or due to the non-maintenance of the kernel by the Fedora Community will it cause issues?

Using an LTS kernel may or may not increase your stability depending on the specific hardware you are using.

I have used the longterm kernels packaged by kwizart in the past and they have received frequent updates and worked well. However, I have no way of guaranteeing that will continue into the future. You are ultimately using user contributed software.

3 Likes

My only issue facing with fedora 35 is the bluetooth breaking randomly and I didn’t had that issue in the past so I’m just thinking about hoping the kernel might do some favour in solving it!

What are the chances for it to break my system?

Unless the hardware in your system isn’t supported by that kernel version, it is pretty unlikely it would break your system. Even if it did, it is considered a different package than the normal Fedora kernel so you would have both installed and could just reboot into the other kernel.

1 Like

My general suggestion is that for hardware support, you’re on the balance more likely to have things work staying on the official kernel, because fixes go in upstream and get to you as we follow that upstream kernel quickly.

The main exception is when you depend on out-of-tree (possibly non-open-source) drivers. They might not always keep up with the upstream kernel.

4 Likes

In my experience, most of the breakages comes from the mainline kernel breaking compatibility with certain specific hardware devices. This seems to happen pretty regularly. It is generally fixed at a later point but running an LTS kernel will usually dodge those issues.

Of course, it depends how mainstream your hardware is. If you are running very common hardware, that situation is less likely to occur as a regression is more likely to be caught during testing. This means most people will be fine either way.

I’m using MSI Modern 15 with AMD Ryzen 5 5500U and I had no graphic card. Mine is Bluetooth 5.0

Or you could also delay a little more before upgrading to a newer kernel.

But I do not recommend kernel 5.10 LT for general usage unless you are solving (or workaround) a real problem. I think it’s also relevant for bisection (trying to find since which kernel version a regression occurred , etc).

4 Likes

As an off-topic side note, thanks for providing those LTS kernels.

1 Like

Please explain in detail.

Well, the easier is for you to boot into the last previous kernel so when 5.15 will hit stable, reboot on the last know good 5.14 kernel (it will be kept from been removed, as it’s your running kernel).

You can also exclude any kernel updates using an “excludepkgs=kernel*” directive in /etc/dnf/dnf.conf or use the dnf “versionlock plugin”

1 Like

But for now, all the kernels provided in Fedora 35 are all causing problems. That’s why I’m heading to LTS kernel

After installing the kernel in the GRUB menu it is booting in and prompting to load the kernel. Please guide me to do that.

OK, I’ve fixed the original issue from this topic.
Kernel 5.10 longterm is now available in f35+

2 Likes

I got this prompt for 5.4 LTS Kernel also!

1 Like