xiykj

今天开机进centos7后出现警告

dracut-initqueue[259]: Warning: dracut-initqueue timeout
Warning: /dev/centos/root does not exist
Warning: /dev/centos/swap does not exist
Warning: /dev/mapper/centos-root does not exist

然后进入紧急模式,如下图(实体机现场已经无法重现,借个图)

 

经过一番查找,大部分说的是usb安装的解决问题,根本不对题。

最后在https://forums.centos.org/viewtopic.php?t=63988找到解决方法:

在centos7启动菜单 中选择 带rescue文字的启动项进入  rescue kernel 。

 

登陆后执行

dracut -f
给最新内核进行重建initramfs文件

注意需耐心等待一两分钟,等待重建完成,这就修复好了。重启可正常登陆。

出现问题原因不明,可能性: 系统升级了。不过现在又可以愉快的docker了
转载链接:https://blog.csdn.net/6rl/article/details/107133213

分类:

技术点:

相关文章:

  • 2021-10-08
  • 2021-08-16
  • 2021-10-08
  • 2021-09-28
  • 2021-09-28
  • 2021-05-16
  • 2021-11-30
  • 2021-10-16
猜你喜欢
  • 2021-09-28
  • 2021-09-28
  • 2021-12-09
  • 2021-12-08
  • 2021-08-22
  • 2021-09-28
相关资源
相似解决方案