centos重启出现type Control-D to continuefsck使用

Posted ritchy

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos重启出现type Control-D to continuefsck使用相关的知识,希望对你有一定的参考价值。

VMware vSphere克隆异常
/dev/sda2: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)

可能因为机器异常关机导致无法识别磁盘,需要检测修复。错误中已有提示
处理办法:
1、直接输入密码回车, vi /etc/fstab编辑状态提示只读
2、根据错误提示执行 fsck /dev/sda2 检查修复磁盘(不需要加-y),如果有其他磁盘(fdisk -l)了也检查下,提示输入y(es)
3、reboot

参考
https://blog.csdn.net/sh3nshu/article/details/46820371

以上是关于centos重启出现type Control-D to continuefsck使用的主要内容,如果未能解决你的问题,请参考以下文章

linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):

Give root password for maintenace (or press Control-D to continue):解决方法

CentOS 6 UNEXPECTED INCONSISTENCY RUN fsck MANUALLY

System assertion :Press Enter for maintenance (or press Control-D to continue):2018-07-12

CentOS 7开机出现welcome to emergency mode! 解决方法

解决centos7重启后出现ata bus err