Install the LTS kernel in Arch Linux

Last updated on 2021-11-19 Tagged under  # arch  # linux

Install the Long-Term Support (LTS) Linux kernel as a fallback option to Arch's default kernel. Or set the LTS kernel as the default kernel (for added stability and less frequent updates).

Let's go!

  1. Install linux-lts ...
$ sudo pacman -S linux-lts
  1. Determine the UUID of the root partition (example: sda2), which we paste into the config that we create in the next step ...
# blkid -s UUID -o value /dev/sda2
  1. Example setup uses the systemd-boot loader:

Create an entry file for the LTS kernel in /boot/loader/entries/arch-lts.conf ...

title Arch LTS
linux   /vmlinuz-linux-lts
initrd  /intel-ucode.img
initrd  /initramfs-linux-lts.img
options root=/dev/mapper/cryptroot rw
  1. Confirm we have a valid configuration by listing boot loader entries ...
$ bootctl list
  1. Reboot and select LTS kernel. Check to see if the running kernel is indeed -lts ...
$ uname -r
  1. Optional: If you want to use LTS as the default boot kernel, it is safe to remove Arch's linux kernel ...
$ sudo pacman -R linux

... and set default in /boot/loader/loader.conf to default arch-lts.conf.

» Later: Not so minimal Debian

« Earlier: Getting started with Arch Linux