Skip to content

Switch kernel in AWS instance

Amos Kong edited this page Nov 18, 2020 · 1 revision

Change grub to switch the default boot kernel

  1. Install new kernel, check the new item is added to /boot/grub2/grub.cfg
  2. change GRUB_DEFAULT to 0 in /etc/default/grub
  3. sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  4. reboot