解决/boot/grub/grub.conf not found 和 /boot/grub2/grub.cfg not found 问题

7.79K 浏览技术资料
0

我们经常会在CentOS 6和CentOS 7升级中遇到/boot/grub/grub.conf not found 和 /boot/grub2/grub.cfg not found 错误,这里是解决的方法:

/boot/grub/grub.conf 缺失:

yum install -y grub
grub-mkconfig -o /boot/grub/grub.conf

/boot/grub2/grub.cfg 缺失:

yum install -y grub2
grub2-mkconfig -o /boot/grub2/grub.cfg

分享到:
Qi 问的问题 2019年9月18日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register