After updating the kernel the system is still booting from the previous version.

Solution Verified - Updated -

Environment

Red Hat Enterprise Linux 6.4

Issue

After updating the kernel, the system is still booting from the previous version.

Resolution

Backup current /boot/grub/grub.conf:

cp /boot/grub/grub.conf <new location>

Substitute "new location" for a path where you can retrieve this file from in case you will need it in the future.

Move /etc/grub.conf to /boot/grub/grub.conf

mv /etc/grub.conf /boot/grub/grub.conf

Create the link /etc/grubc.conf to /boot/grub/grub.conf

ln -s /boot/grub/grub.conf /etc/grub.conf

Root Cause

/etc/grub.conf is a soft link to /boot/grub/grub.conf. This link is broken.

Diagnostic Steps

Incorrect output:

# ls -l /etc/grub.conf
-rw-------. 1 root root 1254 Feb  6 14:31 /etc/grub.conf

Correct output:

# ls -l /etc/grub.conf
lrwxrwxrwx. 1 root root 20 Feb 17 10:48 /etc/grub.conf -> /boot/grub/grub.conf

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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