I attempted to reset the root password in rhel10 using the init=/bin/bash method as described in the training book, and also tried the rd.break approach. With rd.break, the chroot command was not found, and when using init=/bin/bash, the server failed to boot and got stuck at system PID 1.
Please follow the link for detailed steps:
https://learn.redhat.com/t5/Platform-Linux/Root-Password-Reset/m-p/47414#M3021
I think, If you are perfromig instructions on RHEL 10 and got an extra step you need to add:
3a. remove any console or vcosnole key value pairs from the line.
After doind this you should be able to reset the root password for the server without any issue.
Thanks
Please follow the link for detailed steps:
https://learn.redhat.com/t5/Platform-Linux/Root-Password-Reset/m-p/47414#M3021
I think, If you are perfromig instructions on RHEL 10 and got an extra step you need to add:
3a. remove any console or vcosnole key value pairs from the line.
After doind this you should be able to reset the root password for the server without any issue.
Thanks
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.