we have upgraded our machine using yum upgrade , after reboot, it is getting into emergency mode , please assist.
Can you boot into the prior kernel?
What is the error message at the rescue mode command prompt?
What does this command say about installed kernels:
rpm -qa | grep kernel-core
See this post as well. Maybe you are seeing the same thing I did:
I also did a ‘yum’ update which included: =
Installing:
kernel x86_64 5.14.0-503.22.1.el9_5
And upon rebooting, I was a “can’t locate initramfs” for the new kernel version, and it went into ‘emergency’ mode…
Since Grub2 is messed up, and doesn’t present a menu, I simply re-kickstarted the system to see if the issue is isolated to the ‘update’, or the kernel package itself…
It ‘has’ rebuilt successfully, so there may be an issue with the ‘update’ method, where the ‘post’ script to create the new initramfs file isn’t executing successfully…
I am having a similar problem with and Intel NUC class system with and Intel Core I7 processor. The problem only appears on the Core I7 machine but not on the two other boxes that are Xeon processors. Yes I can boot on ver sion 5.14.0-362.8.1.el9_3.x86_64 but not 503.21.1.el9_5.x86_64 or later.