Things have changed in RHEL 9. rd.break does not work anymore. These are the steps that need to be taken.
- Find the line that loads the Linux kernel and add
init=/bin/bash
to the end of the line. mount -o remount,rw /
This is necessary because it's mounted as read-only.passwd root
touch /.autorelabel
exec /usr/lib/systemd/systemd/
To reboot the machine or/sbin/reboot -f