konfiguracja

/boot/grub/grub.cfg

/etc/default/grub → najważniejszy plik

                           
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

GRUB_DEFAULT → system bootowany defaultowo (saved - bootuje ostatnio używany system)

GRUB_SAVEDEFAULT = true → zapisuje ostatni uruchomiony system

GRUB_TIMEOUT → czas na decyzję

GRUB_BACKGROUND → ustawia obrazek jako tło po podaniu ścieżki

GRUB_TERMINAL = console → wyłączenie opcji graficznej gruba

GRUB_CMDLINE_LINUX → wpisane rzeczy na końcu wpisu o jądrze linuxa

update-grub

/etc/grub.d → skrypty wykonywane po uruchomieniu gruba