CentOS的update-grub2命令

这个和Ubuntu还是有些区别,在CentOS修改成如下:

grub2-mkconfig -o /boot/grub2/grub.cfg
原文地址:https://www.cnblogs.com/EasonJim/p/9097133.html