关于centos7 开机时遇到initramfs-xxx.img not found错误导致虚拟机无法开启

问题描述:

解决方法:

重启系统,我们选择第二个紧急模式进入

如果有挂载问题,就把之前在/etc/fstab下添加的配置删除并且取消挂载(如果没有请忽略)

在终端输入 yum reinstall kernel
慢慢等它下载完后reboot
然后从第一个正常模式进入发现之前的错误消失
顺利解决问题。

参考自:

https://unix.stackexchange.com/questions/426077/errorfileinitramfs-3-17-8-300-fc21-x86-64-img-not-found-press-any-key-to-cont

https://communities.vmware.com/thread/618124

挂载更改如下:

https://jingyan.baidu.com/article/495ba841d5330738b20ede44.html

原文地址:https://www.cnblogs.com/cthon/p/12714874.html