English Czech
You will be prompted to enter the new root password twice.
While booting the system the xref:bootloading-with-grub2.adoc[GRUB2] menu will be displayed. To boot the system into rescue mode using `bash` follow these steps:
Using a Fedora Live Media (USB/DVD/CD)
Use the arrow keys to go to select the line begging with `linux`, `linux16`, or `linuxefi`.
To view your hard drive device nodes, enter `df -H` into the terminal. For this example we will use `/dev/sda1` for the `/boot` partition and `/dev/sda2` for the root `/` partition.
touch /.autorelabel
To mount root on a *standard partition* scheme enter:
To mount root on an *LVM partition* scheme enter:
To download and create a live USB of Fedora Workstation, follow the instructions on the xref:creating-and-using-a-live-installation-image.adoc[Fedora USB Live Media Quick Doc].
The system may take a moment to boot while SELinux relabels its permissions on the filesystem. If you see the Plymouth boot screen you can press the `ESC` key on your keyboard to view the SELinux progress. Once it is complete, your system is ready and your root password has been successfully changed.
Temporarily move the system hard disk to another machine, and follow the procedures above to reset the root password.
Select the entry you with to edit by pressing *e*.
Select the boot entry you wish to edit with the arrow keys.
/sbin/reboot -f
Run the command:
Restore the SELinux context and permissions with:
Refer to your computer's documentation for instructions on resetting the Firmware/BIOS password in CMOS memory.
Reboot your system and boot from the hard drive.
Reboot the machine with:
Press *Ctrl-x* or *F10* to boot the entry