Older LTS kernels
Repo access to older kernels was a plus though, I have a very old laptop that works best with 4.19, which is in the AUR, but I’d have to build it … which would probably melt the old clunker.
Following on from the above thread, I’m thinking about building I have built LTS kernels from the AUR to make them available in an unofficial user repo .
My current builds are now available here: https://repo.m2x.dev/current/kernel-lts/x86_64/
These are built directly from the AUR packaging files. YMMV etc.
This repo has the same stepped cadence available as the other repos if you are already using one of those (make sure you don’t mix cadences).
How to use
Add this to your /etc/pacman.conf
:
[kernel-lts]
Server = https://repo.m2x.dev/current/$repo/$arch
Import my key:
sudo pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-key 76C6E477042BFE985CC220BD9C08A255442FAFF0
sudo pacman-key --lsign 76C6E477042BFE985CC220BD9C08A255442FAFF0
then install whichever kernel takes your fancy:
mkinitcpio
With version 30 of mkinitcpio and linux-lts=5.10
hitting the Arch repos, the default initramfs compression was switched to zstd. Older kernels may not support this so make sure to edit your /etc/mkinitcpio.conf
to set a compression method the kernel does support (e.g. gzip). I backported zstd support to the 5.4 package. Older kernels, not so much.
Popularity contest
Would you like older LTS kernels prebuilt and available in a repo?
Yes, and I would use it
Yes, it might be useful for someone else
No
18 Likes
I need 4.19 on my laptop, so I might just use this. Thanks!
2 Likes
ringo
October 15, 2020, 5:31pm
3
best to keep it simple to set only oldest , and call Linux-legacy
ringo:
set only oldest
I don’t think kernel 3.16 is maintained any more…
ringo
October 15, 2020, 7:44pm
5
most lts is 2 years unles an distro prelonge the life…
It depends, quite a few are six years:
Version
Maintainer
Released
Projected EOL
5.4
Greg Kroah-Hartman & Sasha Levin
2019-11-24
Dec, 2025
4.19
Greg Kroah-Hartman & Sasha Levin
2018-10-22
Dec, 2024
4.14
Greg Kroah-Hartman & Sasha Levin
2017-11-12
Jan, 2024
4.9
Greg Kroah-Hartman & Sasha Levin
2016-12-11
Jan, 2023
4.4
Greg Kroah-Hartman & Sasha Levin
2016-01-10
Feb, 2022
1 Like
ringo
October 15, 2020, 8:38pm
7
yeah that 2 years release is not so long ago before was longer but im a noob on such info
linux-lts54
is now also available in the AUR:
https://aur.archlinux.org/packages/linux-lts54/
Watch out for upcoming changes to mkinitcpio
from version 30:
As linux-lts moved to the 5.10 version, all official kernels of Arch Linux now support zstd compressed
initramfs images, so mkinitcpio is switching to zstd compressed images by default with version 30,
which is currently on [testing].
If your LTS kernel does not support a zstd initramfs then make sure to edit your /etc/mkinitcpio.conf
and explicitly set a supported compression method (e.g. gzip).
3 Likes
What’s that linux-nitrous btw?
Description : Modified Linux kernel optimized for Haswell (and newer) compiled using clang (tagged git version), with Clear Linux patches
Sorry, yay -Si linux-nitrous
answered it
4pips
January 13, 2022, 2:37am
12
Thanks. I have to use 5.4 with my Intel HD graphics 530. All newer kernels crash when watching videos and only hard reset helps.
2 Likes
Just to highlight in this thread too, linux-lts510
is now also available in the AUR and this repo:
https://aur.archlinux.org/packages/linux-lts510/
3 Likes
hey @ValNar nice to have you here but remind not to post in very old threads… and instead mention it in new one if you want to ask something.
–closing–