Not able to boot
Recently, I failed to boot into my laptop. I was shocked.
home contains a file system with errors, check forced.
home: Inode 12976129 seems to contain garbage.
home: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck failed with exit status 4.
Then not able to mount the home partition, I was prompted to login as root. However, I was too nervous, I forgot what is my root password.
Luckily, I always have an Arch Linux LiveUSB, though it was 2020 release. I boot into it. Then the screen is tearing, due to the graphic card issue (NVidia). I tried to remember how I did the installation previously. At the end, it involves BIOS to change the graphic card to non Discrete Graphic Card. Boot again, yes, success boot into LiveUSB.
The next thing is, I immediately run fsck to check the partition again. And auto fix all prompts.
During the fix, fsck shows me such frightening screen.
Luckily there is no read error caused by bad sector.
After finish running fsck, I reboot and no more issue to boot into Linux.
Backup! Backup! And always do backup! And I should remember my root password!
