You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some Rocky Linux 9 deployments, we are seeing GRUB defaulting to the
old kernel included in the DIB image, even after newer kernels have been
installed. This appears to be related to the presence of Boot Loader
Specification (BLS) entries with a machine ID lower in alphabetical
order than the current one:
[stack@host ~]$ sudo cat /etc/machine-id
cd3361a338fe47348de9937e51a7a4aa
[stack@host ~]$ sudo ls -l /boot/loader/entries/
total 20
-rw-r--r--. 1 root root 449 Mar 31 2023 104a42359fae41b687caac066397aec2-0-rescue.conf
-rw-r--r--. 1 root root 397 Mar 31 2023 104a42359fae41b687caac066397aec2-5.14.0-162.22.2.el9_1.x86_64.conf
-rw-r--r-- 1 root root 446 Jun 9 2023 cd3361a338fe47348de9937e51a7a4aa-0-rescue.conf
-rw-r--r-- 1 root root 422 Jun 9 2023 cd3361a338fe47348de9937e51a7a4aa-5.14.0-284.11.1.el9_2.x86_64.conf
-rw-r--r-- 1 root root 422 Jan 9 09:40 cd3361a338fe47348de9937e51a7a4aa-5.14.0-284.30.1.el9_2.x86_64.conf
Add a new `reset-bls-entries.yml` playbook which will rename existing
BLS entries using the current machine ID. This should prompt Grub to
pick the most recent kernel on next reboot.
0 commit comments