After the system restarted, the freshly installed WeChat kept popping up dialog boxes and got stuck there, which was unbearable. I force-restarted right away, and after booting it kept showing “You are in emergency mode……” and a pile of stuff, meaning it wanted me to log in as root, check the error and fix it.
Kind of a headache.
System commands would display, but the graphical interface would not.
So I grabbed the USB drive I used to install the system, booted from it into the installer, pressed ctrl+alt+f4 to get to the USB system’s command interface. Typed startx to enter the USB system’s graphical interface. Now I could see the disks mounted on the computer. I went through the mounted disks one by one looking for the root directory disk. Once I found it, I used the USB system’s command window:1
2sudo vi /etc/fstab
Comment out the home directory and reboot the system.
After rebooting you’ll see a graphical login screen. That one is fake and useless. Press ctrl+alt+f2 to get to the command interface.
Log in to the command interface with your account and password.
Open the /etc/fstab file and remove the comment on home. (Here you need to check the home mount path, mine is /dev/sda6 for example.)
Use the following command to repair:
1
sudo e2fsck /dev/sda6
You will see a bunch of repairs; confirm them one by one, wait for the repair to finish and then reboot the system.

