Question

Linux not Picking up New Kernel

Posted September 23, 2019 149 views
Linux Basics

For some reason, my Linux machine is not picking up the newer Kernel that I’ve installed. Though I can see the Kernel at the /boot folder.

Has anyone had a similar problem and how did you fix it?

Thanks all!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hello,

I’ve had similar cases before, sometimes you would install a new kernel and you would be able to see it in your /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

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

Hope that this helps!
Regards,
Bobby
Source

Submit an Answer