What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Answer: menu.lst 或 grub.conf 或 grub.cfg

题解

GRUB (GRUB Legacy)的设置档是 menu.lst(/boot/grub/menu.lst),需要手动编辑。Red Hat 系的 Linux 发行版则是使用 grub.conf(/boot/grub/grub.conf),而 /etc/grub.conf 和 /boot/grub/menu.lst 都只是链接到它的符号链接。

GRUB2 的手动设置档则是 grub(/etc/default/grub) 和 grub.d(/etc/default/grub.d) 目录下的文件。自动产生的设置档是 grub.cfg(/boot/grub/grub.cfg)。