Operation Manual

GRUB_CMDLINE_LINUX
Entries on this line are added to the end of the booting command line for both
normal and recovery modes. It is used to pass options to the kernel.
GRUB_CMDLINE_LINUX_DEFAULT
Same as GRUB_CMDLINE_LINUX but the entries are passed and appended in the
normal mode only.
GRUB_TERMINAL
Enables and species input/output terminal device. Can be console (PC BIOS
and EFI consoles), serial (serial terminal), ofconsole (Open Firmware con-
sole), or the default gfxterm (graphics-mode output).
GRUB_GFXMODE
The resolution used for the gfxterm graphical terminal. Note that you can only
use modes supported by your graphics card (VBE). The default is ‘auto’, which
tries to select a preferred resolution. You can display the screen resolutions available
to GRUB2 by typing vbeinfo in the GRUB2 command line. The command line
is accessed by typing c when the GRUB2 boot menu screen is displayed.
You can also specify a color bit depth by appending it to the resolution setting, for
example GRUB_GFXMODE=1280x1024x24.
TIP
Setting the same resolution in GRUB2 and the operating system will
slightly reduce the boot time.
GRUB_BACKGROUND
Set a background image for the gfxterm graphical terminal. The image must be
a le readable by GRUB2 at boot time, and it must end with the .png, .tga,
.jpg, or .jpeg sufx. If necessary, the image will be scaled to t the screen.
10.2.3 Scripts in /etc/grub.d
The scripts in this directory are read during execution of the grub2-mkconfig
command, and their instructions are incorporated into /boot/grub2/grub.cfg.
The order of menu items in grub.cfg is determined by the order in which the les
The Boot Loader GRUB2 181