I’m trying to follow https://linuxconfig.org/redhat-8-recover-root-password to reset a root password on a RHEL8 box.
I successfully select ‘e’ on image ‘4.18.0-240.1.1.el8_3.x86_64’ and arrive at the ‘edit’ screen.
I see a ‘linux’ line, but content ends after “crashkernel=auto”. The “resume=” and other stuff from the tutorial is missing.
I added “ rd.break” right after “crashkernel=auto”, but after Ctrl-X, it hangs indefinitely (I waited up to 30 minutes). I never get the switch_root prompt shown by the tutorial.
Any ideas why it would not get to that prompt?
RHEL 8 reboot hangs on rd.break
257 views Asked by WayneTabor At
1
Steps to reset root password if forgotten and have no sudo user:
Now you should be able to login into root without any worries. PS (If console-tty0 option is not present it can be skipped) but as it is present in your "linux" I have added.
Just recently solved this :) partially with the help of this link: https://forums.rockylinux.org/t/how-to-recover-root-password/3433