RHEL 9 installation problem

After installing RHEL 9 i get the message by booting:
Failed to switch root

Is there anything that should be reconfigured in Templates for RHEL 9?

Expected outcome:

Foreman and Proxy versions:
Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7.9
Other relevant data:

Not sure if this helps, but I at least did not need to change anything when switching CentOS Stream 8 to CentOS Stream 9 regarding the templates.

@senetm, are you provisioning from synced RHEL 9 repositories? I tested RHEL 9 provisioning way back during the beta and it seemed to work out of the box, but perhaps some info about your setup would help.

Hey senetm,

I think you are running into a RHEL 9 bug.
Check your boot menu, the first entry is probably missing the ‘root=’ argument.
You can boot the system by editing the line.

This happens when you are deploying from the Kickstart image and patching the kernel during the install. To work around the issue set the parameter package_upgrade=false for your RHEL9 builds and upgrade the system after the first boot. This will work around the issue until the patch is issued.




Hi @iballou, yes I am provisioning from synced RHEL 9 repo and the installation goes true with no problem. When the installation is finished and it boots than i get that message.

Thanks. After setting parameter package_upgrade=false the workstation is booting normally.

Glad to hear. You can patch the system after the first boot and the grub2
menu item will be created appropriately.

Paul Armstrong
Principal Technical Specialist
Red Hat Technical Sales Organization