Missing `/etc/machine-id` causes system fails to boot with newly installed kernel.
Issue
- After kernel update, the following error is shown when running the
grubby --info=ALL | grep title, and there is no entry for the newly installed kernel.
# grubby --info=ALL | grep title
/usr/libexec/grubby/grubby-bls: line 37: /etc/machine-id: No such file or directory <======
title="Red Hat Enterprise Linux (4.18.0-xxx.xx.x.el8_6.x86_64) 8.6 (Ootpa)"
title="Red Hat Enterprise Linux (4.18.0-xxx.xxx.x86_64) 8.3 (Ootpa)"
.......
- No vmlinuz-xxx and initramfs-xxx files generated for newly installed kernel under /boot after kernel update.
- There is no entry of the new kernel displayed in the GRUB menu after kernel update.
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.