Linux not picking up new kernel

Linux not picking up new kernel

 

Sometimes you would see a problem where your new kernel has been installed and is correctly stored at /boot folder. But on boot it would not appear in the grub menu and would not be automatically picked up on reboot.

To sort that you can simply run the following:

- On Debian/Ubuntu:

update-grub

- On CentOS/RHEL:

grub2-mkconfig --output=/boot/grub2/grub.cfg

That's it!

Then just reboot your server/PC and it would automatically pickup the newest kernel.

 

Materialize

The Real-Time Data Platform for Developers

Buy me a coffeeBuy me a coffee
Tags