报错内容:

Give root password for maintenance
Your system appears to have shut down uncleanly
press Y within 1 seconds to force file system integrity check…
checking root filesystem
/contains a file system with errors,check forced.
/:
Unattached inode 813065

/:UNEXPECTED INCONSISTENCY;RUN FSCK MANUALLY.
(i.e.,without -a or -p options)
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

问题解决过程:

步骤一:
输入root帐户的密码,注意输入密码的时候没有显示的

步骤二:
输入: df -T
这个命令是显示所有文件系统格式,及其Mount point

步骤三:
若有两个EXT2分区
/
/boot

那么输入:fsck -y /
处理 / 根目录

输入:fsck -y /boot
处理 /boot 目录

步骤四:
输入:reboot 
重启系统
————————————————

原文链接:https://blog.csdn.net/laven54/article/details/8393984

Logo

鸿蒙生态一站式服务平台。

更多推荐