RHEL 9 boots into emergency mode with error: "Failed to switch root : Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing."
Issue
- When RHEL 9 is upgraded to latest kernel version after provisioned with kickstart file, it boots into emergency mode displaying below message:
Failed to switch root : Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing.
initrd-switch-root.service: Main process exited, code=exited, status=1/FAILURE
initrd-switch-root.service: Failed with result 'exit-code'.
Failed to start Switch Root.
Environment
- RHEL 9
- Red Hat Satellite 6.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.