在 Ubuntu 中(我猜在 Debian 中也是如此)有一个名为的系统脚本update-grub,它会grub-mkconfig -o使用 grub 配置文件的正确路径自动执行。
update-grub
grub-mkconfig -o
基于 Red Hat 的发行版是否有类似的命令?
如果没有,系统如何知道安装新内核版本时要更新的 grub 配置文件在哪里?
fedora grub rhel centos
centos ×1
fedora ×1
grub ×1
rhel ×1