From Fedora Project Wiki

mNo edit summary
mNo edit summary
Line 1: Line 1:
[http://people.redhat.com/sleggett/walkthroughs/f21/recover-root-password.ogv Video Illustration]
1. At the Kernel selection line, press [E] while highlighting the latest working Kernel.
1. At the Kernel selection line, press [E] while highlighting the latest working Kernel.



Revision as of 21:41, 6 February 2015

Video Illustration

1. At the Kernel selection line, press [E] while highlighting the latest working Kernel.

2. Using the arrow keys, move the cursor down to the line beginning with "linux".

3. Press [END].

4. Press [SPACEBAR].

5. Place 'rd.break' at the end of the line.

6. Press [CTRL]+[X].

7. At the "switch_root" prompt, execute the following command:

# mount -o remount,rw /sysroot

8. Execute the following command:

# chroot /sysroot

9. Provide a new root password by executing the following command:

# passwd

10. Enable an automatic fcontext relabel with the following command:

# touch /.autorelabel

11. Press [CTRL]+[D].

12. Execute the following command:

# reboot