cancel
Showing results for 
Search instead for 
Did you mean: 
MuSa
Mission Specialist
Mission Specialist
  • 23.8K Views

RH134 / RH199: RHEL9.0 Lab reset root password using rd.break not working

Jump to solution

I followed the steps in the document, but I was asked to give the root password.

Here is what I did:

1. On the Grub menu type e

2. Append rd.break to the end of the line starting with linux

3. Hit Ctrl+x

It boots to this:

Give root password for maintenance
(or press Control-D to continue):_

Any tips, please!?

root_pw_reset01.pngroot_pw_reset02.png

53 Replies
AnaV
Flight Engineer
Flight Engineer
  • 6,232 Views

Ahhhh, You are so right! Thanks for testing this for me, I was not following the correct steps.

Apologies for wasting your time!

Chetan_Tiwary_
Community Manager
Community Manager
  • 1,825 Views

no problem @AnaV ! Glad your issue was resolved. 

0 Kudos
kciq
Cadet
Cadet
  • 1,283 Views

There is a bug in version 9.0, which was resolved in version 9.2. However, the RHEL 134 laboratory course uses version 9.0. I resolved the problem with the following solution:

  • Removed "console=tty0 console=ttyS0,115200n8"
  • Added "rw init=/bin/bash" to the end of the linux line
kenmen
Cadet
Cadet
  • 1,028 Views

Thanks allot!

For the people who are running the labs on Redhat this works.
What you need to do is the follwoing.

when you are in the grub menu you will see the following lines

1. press e to edit

kenmen_0-1723739703732.png

- Remove the line. console=tty0 console=ttyS0,115200n8 (It also work if you remove console=tty0 console=ttyS0,) REMEMBER REMOVE THE "," or else it won't work

kenmen_1-1723739981259.png

- add the line init=/bin/bash

kenmen_2-1723740225167.png

and press ctrl + x and it should work now! Goodluck everyone! probably the ones who are doing their RHCSA this will come in handy.

after rebooting it should look like this. I hope this is helpfull.

kenmen_3-1723740311140.png

 

 

Join the discussion
You must log in to join this conversation.