Arch Linux 升降换内核

换成linux-lts

pacman -S linux-lts linux-lts-headers
ls -lsha /boot
pacman -R linux linux-headers
grub-mkconfig -o /boot/grub/grub.cfg
reboot

降版本

ls /var/cache/pacman/pkg/
cd /var/cache/pacman/pkg/
pacman -U linux-xxxxx-x86_64.pkg.tar.xz linux-headers-xxxxx-x86_64.pkg.tar.xz
reboot

参考
https://unix.stackexchange.com/questions/284617/how-to-switch-arch-linux-to-lts-kernel
https://wiki.archlinux.org/index.php/Downgrading_packages

Show Comments