Improper shutdown caused the filesystem log error
Hello, trisquel users! Want to ask about a bug I've got.
trisquel 8.0 booted into login screen, after that I pushed the power button and switched it off (improper power-off).
Then I had a bug: after switching-on trisquel showed me background and then black screen with info like 'Welcome to emergency mode! see journal -xb to discover logs. use systemctl default to boot default mode.'
so I rebooted and nothing changed.
I studied `mount` output and discovered that /home war not mounted. I typed:
mount /dev/sda6 /home
It said that logs are corrupted. Use xfs_repair
logs zeroing helped this time:
xfs_repair -L /dev/sda6
reboot
And everything went ok. System booted normally.
Please. Is it a bug? Which logs I need to push a bug ?
I'm not sure that is a bug. It's like having the rug pulled out from under you and then complaining that you hit your head on the floor as you fell. Except in this case it's the computer that had the rug pulled out from under it. It's best to power off normally.