Linux开机报错 or type Contro-D to continue

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux开机报错 or type Contro-D to continue相关的知识,希望对你有一定的参考价值。

出错截图

技术分享图片

解决办法

输入root密码
#mount | grep "on /" 
//得到root用户所在分区/dev/your_partition
#fsck -y /dev/root 
#fsck -y /dev/your_partition
#fsck -y /dev/sda1
//检测并修复磁盘/dev/root,-y 选项指定检测每个文件是自动输入yes 
#chown root.root /var/log/audit/audit.log 
#chmod 600 /var/log/audit/audit.log 
//给root写auditd日志文件的权限
#reboot //重启系统,成功进入系统

以上是关于Linux开机报错 or type Contro-D to continue的主要内容,如果未能解决你的问题,请参考以下文章