After installing/upgrading new kernels, the GRUB menu on next boot (UEFI) still does not reflect the newly available kernels.

(Doc ID 2335571.1)

Last updated on DECEMBER 08, 2017

Applies to:

Linux OS - Version Oracle Linux 6.9 and later
Information in this document applies to any platform.

Symptoms

After installing/upgrading new kernels, the GRUB menu on next boot (UEFI) still does not reflect the newly available kernels.

In this particular case, there were three versions of RHCKs and one version of UEK3 already installed before installing a current version of UEK4.  The UEK4 installation was successful.

/boot/grub/grub.conf is confirmed to contain all five titles for booting every kernel.  This implies installing/upgrading/removing kernels does update /boot/grub/grub.conf correctly and, in fact, the default boot entry is also updated correctly.

Furthermore, all kernel files exist (i.e. initrd* and vmlinuz*) in /boot/.  This is consistent with the "rpm -q -a" output.

However, upon next boot, the GRUB menu still only lists two earlier versions of RHCKs and one version of UEK3; the newly added UEK4 version is not listed for booting.

Even after removing the existing version of UEK3, upon next boot, the GRUB menu still lists it for booting despite its title is already removed from /boot/grub/grub.conf.

Reinstalling GRUB via grub-install into the boot disk does not help.

Changes

Customer is installing/upgrading kernels (i.e. RHCKs and UEKs).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms