I use Fedora 42 KDE Plasma. The other day the computer suddenly crashed completely. I had to force shutdown it. Now it doesn’t boot anymore, displaying this message :
“You are in emergency mode. After logging in, type “journalctl -xb” to view system logs, “systemctl reboot” to reboot, or “exit” to continue bootup.
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.”
A forced shutdown can damage filesystems, or the system may have some more serious hardware failure. If you can boot a Live Installer USB you can use it to check the S.M.A.R.T status of the system drive. Then try mounting the system root partition. I use Gnome Disks, but I think you can use KDE Partition Manager.
In a terminal use journalctl -xb --no-hostname --directory <root_mount_point>/var/log/journal/<system_UUID>/journal/ .... <system_UUID>' is a long hex string. Normally there is only one system_UUID`.
journalctl collects massive amounts of data, so you need to study man journalctl to find “filter options” that filter out irrelevant entries. Start with -p 3 and then -g <string>, where <string> might be fsck.