English Czech
passwd
passwd
[Note] ==== If your disk is encrypted, you may need to add `plymouth.enable=0` ====
mount -t proc none /mnt/sysimage/proc
Mount the `/` (root) partition (be sure to use the actual device node or LVM path of your root `/` partition):
mount -o bind /run /mnt/sysimage/run
mount -o bind /dev /mnt/sysimage/dev
mount /dev/sda2 /mnt/sysimage
mount /dev/sda1 /mnt/sysimage/boot
mount /dev/fedora/root /mnt/sysimage
mkdir -p /mnt/sysimage/boot
In Rescue Mode
If you want to reset the boot loader password, refer to the instructions on how to link:++https://fedoraproject.org/wiki/Reset_Bootloader_Password++[Reset the Bootloader Password].
If you have set a password for your boot loader, refer to xref:creating-and-using-a-live-installation-image.adoc[Creating and Using a Live Installation Image].
If you do not restore the SELinux permissions, the boot process may fail. You may have to do a hard-reboot and start back at step 1.
If you cannot enter rescue mode because you forgot the Firmware/BIOS password here are some options:
If you are using LVM partitions, type: `sudo lvscan` and note the `/dev` path of your root partition. For this example we will use `/dev/fedora/root`.
How to reset the root password with a Fedora Live Media
How to reset the root password in Rescue Mode
How to Reset the root Password