Skip to content

Instantly share code, notes, and snippets.

@h4n2k
Last active October 3, 2017 10:31
Show Gist options
  • Select an option

  • Save h4n2k/78e6253f69c87cde933e08b65d79f3f1 to your computer and use it in GitHub Desktop.

Select an option

Save h4n2k/78e6253f69c87cde933e08b65d79f3f1 to your computer and use it in GitHub Desktop.
How to switch to Long Term Support (LTS) kernel - Arch Linux
- install lts kernel
sudo pacman -S linux-lts
-or-
sudo pacman -S linux-lts linux-lts-headers
- (optional) check if kernel, ramdisk and fallback are available
ls -lsha /boot
- (optional) remove the standard kernel
you can skip this step and have both kernels installed at once.
For me, lts was selected by default after rebooting,
but I could also go into grub's advanced options and select the standard kernel instead.
pacman -R linux
- update the grub config
grub-mkconfig -o /boot/grub/grub.cfg
reboot
Note:
may need to replace any kernel modules with their lts equivalent as well.
e.g. if acpi_call was previously installed, it's probably best to also install acpi_call-lts, otherwise the module won't load.
@h4n2k

h4n2k commented Oct 3, 2017

Copy link
Copy Markdown
Author

@h4n2k

h4n2k commented Oct 3, 2017

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment