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!?
I'm not sure what you mean by "changed"... Those are the instructions that have been used since RHEL 7.0.
https://www.redhat.com/sysadmin/recover-root-passwd
They will not work for RHEL 9.0
They will work for RHEL 8.x, 9.1, and 9.2.
I had this issue becouse the creation playbook has failed. After re-running the playbook it worked fine.
Hi there,
None of the options indicated in this discussion works. Any chance someone would review the current RH134 9.0 lab and get it fixed?
Right, seems to work with init=/bin/sh. Good to know.
Well, not really.
/sysroot does not exists, ok, so I mounted /
chroot is not found
and then exit hungs the VM.
@AnaV I have tried this exercise for the nth time succesfully - and did not face any issue since a long time now: simply followed the exercise as instructed and it went on smoothly : Are you selecting the resuce kernel boot loader entry and editing it ?
once the server is up , I was able to login with the updated password :
Please raise a support case in case you are getting error even after follpwing the steps and our support team will help / guide you.
Ahhhh, You are so right! Thanks for testing this for me, I was not following the correct steps.
Apologies for wasting your time!
no problem @AnaV ! Glad your issue was resolved.
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:
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
- 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
- add the line init=/bin/bash
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.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.