Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to try again to boot into default mode。
give root password for maintenance
(or type Control-D to continue )

报这个错误多数情况下是因为 /etc/fstab 文件的错误。注意一下是不是加载了外部硬盘、存储器或者是网络共享空间,在重启时没有加载上导致的。

# 输入 root 密码,回车

# -b 查看系统本次启动的日志
# -p err 或 -p 3:只显示被标记为错误、严重、警告或者紧急级别的信息
journalctl -xb -p err
Failed to mount /data

打开 /etc/fstab 文件,注释掉“/data”行,重启。