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.

 

Coffee For Me
Recent Posts
Proxies Demystified
Proxies Demystified
2019-11-05 09:31:05
Tags