Changing Linux Kernel Version

Install a different Linux kernel via apt on debian/ubuntu-based distro. Update grub to load the new kernel you specify.

    1. sudo su
    2. apt search linux-image- to list available kernels
      (pick generic unless you’re certain what you’re doing)
    3. apt install <linux kernel you've picked>
    4. Backup Grub: cp /etc/default/grub /etc/default/grub.bak
    5. Set Grub to remember your choice of kernel:
      vi /etc/default/grub
    6. Edit or enter the following:
      GRUB_DEFAULT=saved
      GRUB_SAVEDDEFAULT=true
      (this sets Grub to save whatever kernel choice you’ve made from the boot menu)
    7. update-grub
    8. reboot
    9. Press Esc to enter boot menu, pick advanced launch option for distro, select kernel version.
    10. Confirm kernel version change with uname -rs

References

  1. How to Downgrade the Kernel in Linux – Make Tech Easier
  2. linux – Set default kernel in GRUB – Unix & Linux Stack Exchange

Did this solve your issue?