Skip to content

Instantly share code, notes, and snippets.

/grub config Secret

Created September 21, 2017 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/49dce3e9a665642dfd37d062ee395e4d to your computer and use it in GitHub Desktop.
Save anonymous/49dce3e9a665642dfd37d062ee395e4d to your computer and use it in GitHub Desktop.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# If you want to dynamically change the default entry booted using
# `grub-set-default' or `grub-reboot', set this to "saved".
# Placing a number here will always boot that entry and the previously
# mentioned two tools won't have any effect.
# For savedefault functionality
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_DISTRIBUTOR="Salix $(sed -e 's/^Slackware //' /etc/slackware-version)"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="vt.default_utf8=1"
# Uncomment this to enable savedefault support (i.e. the last chosen
# menuentry is booted the next time).
# Note: This depends on "GRUB_DEFAULT=saved"
#GRUB_SAVEDEFAULT=true
# The background image which should be used for the graphical terminal.
GRUB_BACKGROUND="/boot/grub/salix.png"
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_MENU_COLOR_NORMAL=white/black
GRUB_COLOR_HIGHLIGHT=white/cyan
GRUB_COLOR_NORMAL=white/black
# The theme which should be used for the graphical terminal.
# This makes the background option obsolete.
#GRUB_THEME="/boot/grub/mytheme"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Font used on the graphical terminal:
#GRUB_FONT=/usr/share/grub/dejavusansmono.pf2
GRUB_FONT=/usr/share/grub/unicode.pf2
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to disable the detection of other installed operating
# systems using os-prober
#GRUB_DISABLE_OS_PROBER=true
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment