After a complete crash, can't boot anymore (emergency mode)

Hello,

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.”

what can I do ? thanks for your help !

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.

well, after having checked the SMART status from another system on the same drive, it works well now ; i don’t why but hey :slight_smile: