cancel
Showing results for 
Search instead for 
Did you mean: 
  • 5,035 Views

RHEL 8.6 not going into emergency mode

Jump to solution

I am preparing for RHCSA exam using RHEL 8.6 on vmware workstation 15. I am self-studying. Was practicing password recovery. The turotial I am following says
=>Break bootup process
=>while pressing "e" button on keyboard, edit the line start with "linux" and append rd.break\ enforcing=0.
after that when I press "ctrl+x" to boot, it dosent go to command prompt and continue the interrupted process and takes me to log on screen. I thought maybe something wrong with vmware or the guest OS but when I checked it on my laptop, I faced the same problem.

Any Ideas ???

Taimoor Falak

0 Kudos
2 Solutions

Accepted Solutions
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 5,031 Views

The directive is rd.break ; it seems you're typing a backslash (\) immediately after the directive. There should be an space there, such as  "rd.break enforcing=0"  (without quotes).

Hope this helps

 

fran

View solution in original post

0 Kudos
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 4,992 Views

First, there should be no semicolon (it is not C++) or \

\ is not part of the grub configuration. It is put there to let you know that a line continues to the next line.

Because rd.break keeps SELinux from loading, enforcing=0 is a meaningless directive and therefore isn't needed. Leave it out.

In other words, all you need is just rd.break at the end of the line that begins "linux".

Also the title of your post "RHEL 8.6 not going into emergency mode" is misleading. You do not go into emergency mode to reset a password (you can't, because to do so would mean knowing root's password).

If you want to go into emergency mode from grub, add this to the end of the line that begins "linux": systemd.unit=emergency.target

Then press Ctrl-x

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College

View solution in original post

0 Kudos
4 Replies
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 5,032 Views

The directive is rd.break ; it seems you're typing a backslash (\) immediately after the directive. There should be an space there, such as  "rd.break enforcing=0"  (without quotes).

Hope this helps

 

fran

0 Kudos
  • 5,026 Views

First of all thanks for the reply and also it worked.
Secondly I did put space between rd.break and enforcing=0.
The problem was with the semicolon.
It was not there in the 1st place so I assumed its not needed.
But it looks like just its like a C++ statement which must end with " ; ".

0 Kudos
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 4,993 Views

First, there should be no semicolon (it is not C++) or \

\ is not part of the grub configuration. It is put there to let you know that a line continues to the next line.

Because rd.break keeps SELinux from loading, enforcing=0 is a meaningless directive and therefore isn't needed. Leave it out.

In other words, all you need is just rd.break at the end of the line that begins "linux".

Also the title of your post "RHEL 8.6 not going into emergency mode" is misleading. You do not go into emergency mode to reset a password (you can't, because to do so would mean knowing root's password).

If you want to go into emergency mode from grub, add this to the end of the line that begins "linux": systemd.unit=emergency.target

Then press Ctrl-x

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
0 Kudos
  • 4,968 Views

Thank You very much for taking your time and replying to my post.
Those are some valuable lessons. Will keep them in mind.

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