Question

Linux not Picking up New Kernel

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!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted 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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.