信息:

Linux 启动发生磁盘错误, 磁盘扫描进度完成后光标停留在

***An error occured during the filesystem check
***Dropping you to a shell; the system will reboot
***when you leave the shell.

Give root password for maintainence
(or type Controll-D to continue)

提示输入 root 密码


分析:

Checking filesystems

/dev/sda1: 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):

找到问题原因:

错误中指出 /dev/sda1 分割区有不一致性的问题!!


解决:

(1)输入密码后,输入fsck,然后一直按y

Linux命令:fsck

功能说明:检查文件系统并尝试修复错误。

(2)修复完成后,reboot重启,虚拟机将恢复正常


参考:http://www.vixual.net/blog/archives/213



Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐