51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

centos7启动异常dracut-initqueue timeout

最近重启了esxi上的一台服务器,重启后很长时间进入不了系统,提示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 Generating "/run/initramfs/rdsosreport.txt"

|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 | Warning: /dev/centos/root does not exist Warning: /dev/centos/swap does not exist Warning: /dev/mapper/centos-root does not exist Generating "/run/initramfs/rdsosreport.txt" |

解决办法:

重启服务器,在选择引导项,选择CentOS Linx(0-rescue-xxx) 7 (Core)启动,启动完成后就可以进入系统。

进入boot目录执行重建操作,即
cd /boot dracut -f initramfs-3.10.0-1127.el7.x86_64.img reboot

|-------|----------------------------------------------------------------| | 1 2 3 | cd /boot dracut -f initramfs-3.10.0-1127.el7.x86_64.img reboot |

重启后恢复正常

赞(0)
未经允许不得转载:工具盒子 » centos7启动异常dracut-initqueue timeout