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)
  • cannot see entries for latest kernel version in grub, even though kernel was installed
  • 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 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content