Why is the Grub configuration not getting updated after updating kernel package?

Solution Verified - Updated -

Issue

  • Kernel installation updates are not reflecting to /boot/grub/grub.conf(RHEL 5,6) or /boot/grub2/grub.cfg (RHEL 7)
  • Can not see entries for latest kernel version in grub, even though kernel was installed without error.
  • After updating a server, the old kernel is still booted instead of the new one.
  • How to rebuild grub2.cfg boot file?
  • How to recreate or refresh grub2.cfg boot menu file?

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.