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.
Recent Posts

How DigitalOcean Simplifies Cloud Computing for Developers
2023-01-18 12:35:28
How to Get Current Route Name in Laravel
2020-11-08 08:57:11
How to check the logs of running and crashed pods in Kubernetes?
2020-10-28 09:01:44
Top 10 VScode Shortcuts For Mac and Windows to Help You be More Productive
2020-10-28 07:12:51