

CentOS启动报entering emergency mode错误解决方法
source link: https://www.huhexian.com/31417.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

CentOS启动报entering emergency mode错误解决方法
今天宿主机意外断电关机,开机启动系统正常,打开vmware里的几个系统,发现启动centos的时候报错,内容大致如下:
- Generating "/run/initramfs/rdsosreport.txt"
- Entering emergenc mode.Exit the shell to continue.
- Type "journalctl" to view system logs.
- You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
- after mounting them and attach it to a bug report.

只需要在这里的shell键入一条命令:
xfs_repair -v -L /dev/dm-0
执行完成后即可重启,恢复正常。
如果输入xfs_repair -v -L /dev/dm-0 ,报 no such file or directionary 的错误,是没有这个设备。 输入journalctl,翻到最后一页,查看红色地方XFS()是什么。 例如如果是XFS(3),那么就将命令对应的文件改为 xfs_repair -v -L /dev/sda3 即可。
此命令的作用是强制清除日志,但是不会删除自己的文件。
历史上的今天
Recommend
-
42
在 MySQL 5.7版本以上进行一些 ORDER BY 或者 GROUP BY 时,会出现如下错误 [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column ‘information_schema....
-
14
WordPress网站404错误原因及解决方法 最后更新 : 2019.11.16 1404错误的原因...
-
11
...
-
30
connect (10060) 的解决方法This website uses cookies to improve your experience. 本站使用 Cookies 以提升您的用户体验。 Learn More
-
14
Chrome 错误代码:ERR_UNSAFE_PORT 的解决方法 实用资源 / 2021年6月10日 / 0 条评论
-
11
Win10更新Win11失败错误代码0x0怎么回事 错误代码0x0解决方法 2021-10-1510:10:55...
-
7
解决一个错误的终极方法,就是不给它任何发生的机会 知乎上有个问题,问 有哪些外行人看来很蠢的设计实际上却是精妙无比,看这里的答案你会发现,事实上很多放任四海皆准的产品技巧、规则,在...
-
8
svn错误:a peg revision is not allowed here解决方法 2014-10-14 今天更新文件时候,svn突然不好用了,报错: [xsy@miss_yi bomupload]$ svn rm bom/upload/[email protected]_1413255...
-
2
Entering CentOS 5.2 QA mode ... Yes, it started .. the CentOS QA-Team entered the 5.2 QA era .. meaning that we have to test a bunch of existing features and newer ones included in 5.2. For example, in the
-
11
当前位置:VPS啦 > 学习教程 > 正文
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK