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

3.30K 阅读技术资料CentOS 6 centos7
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

分享到:
提问于

Login

Welcome! Login in to your account

Remember meLost your password?

Don't have account. Register

Lost Password

Register