xdays

GRUB2笔记

GRUB2的组成部分?

GRUB2 主要有三个部份:

/etc/default/grub            --这个文件包含了GRUB2的菜单。
/etc/grub.d/                   --这个目录包含了生成GRUB2菜单的脚本。
/boot/grub/grub.cfg       --GRUB2的配置文件,勿直接编辑。
update-grub command reads the /etc/grub.d directory and looks for executable scripts inside it. The scripts are read, in the order of their numbering, and written into the grub.cfg file, along ...