|
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 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 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].
|
|
|
In Rescue Mode
|
|
|
mkdir -p /mnt/sysimage/boot
|
|
|
mount /dev/fedora/root /mnt/sysimage
|
|
|
mount /dev/sda1 /mnt/sysimage/boot
|
|
|
mount /dev/sda2 /mnt/sysimage
|
|
|
mount -o bind /dev /mnt/sysimage/dev
|
|
|
mount -o bind /run /mnt/sysimage/run
|
|
|
Mount the `/` (root) partition (be sure to use the actual device node or LVM path of your root `/` partition):
|
|
|
mount -t proc none /mnt/sysimage/proc
|
|
|
[Note] ==== If your disk is encrypted, you may need to add `plymouth.enable=0` ====
|
|
|
passwd
|
|
|
Press *Ctrl-x* or *F10* to boot the entry
|
|
|
Reboot the machine with:
|
|
|
Reboot your system and boot from the hard drive.
|
|
|
Refer to your computer's documentation for instructions on resetting the Firmware/BIOS password in CMOS memory.
|
|
|
Restore the SELinux context and permissions with:
|
|
|
Run the command:
|
|