X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgrub2.git;a=blobdiff_plain;f=grub.sysconfig;h=ba0af18e03558dc4fc71151449be6ddac2de5db3;hp=6d0d59998498689780b0e8c329e40563d9ca18bb;hb=HEAD;hpb=874c4add0aa91b4d5d5a6665790c95d9f8757d81 diff --git a/grub.sysconfig b/grub.sysconfig index 6d0d599..6d4a356 100644 --- a/grub.sysconfig +++ b/grub.sysconfig @@ -1,51 +1,50 @@ -# Configuration file for grub. +# Configuration file for GRUB. # -# If you change this file, run 'update-grub' afterwards to update /boot/grub/grub.cfg. -# -# To enable auto generation of /boot/grub/grub.conf on kernel package -# install, UPDATE_GRUB must be set to "yes". -#UPDATE_GRUB=yes +# After editing this file, run update-grub to update /boot/grub/grub.cfg. + +GRUB_DISTRIBUTOR="TLD" -# Default entry to boot. Numeric value starting with 0. -# Use special value 'saved' to stick with last booted entry. used with GRUB_SAVEDEFAULT +# To disable automatic generation of /boot/grub/grub.conf on kernel package +# install/upgrade, set UPDATE_GRUB to "no". +#UPDATE_GRUB="no" + +# Default entry to boot (numeric value starting with 0). Use the special value +# "saved" to make the last booted entry the default (requires GRUB_SAVEDEFAULT +# to be set to true). GRUB_DEFAULT=0 -# save_default_entry -#GRUB_SAVEDEFAULT=true +# If this option is set to true, when an entry is selected, it will be saved as +# a new default entry for use by future runs of GRUB. +#GRUB_SAVEDEFAULT="true" +# Boot the default entry this many seconds after the menu is displayed, unless +# a key is pressed. Set to 0 to boot immediately without displaying the menu, +# or to -1 to wait indefinitely. GRUB_TIMEOUT=15 -# Unless `GRUB_DISABLE_RECOVERY' is set to `true', two menu entries -# will be generated for each Linux kernel: one default entry and one -# entry for recovery mode. This option lists command-line arguments -# to add only to the default menu entry, after those listed in -# `GRUB_CMDLINE_LINUX'. -GRUB_CMDLINE_LINUX_DEFAULT="quiet panic=120" +# Wait this many seconds for a key to be pressed before the menu is displayed. +#GRUB_HIDDEN_TIMEOUT=15 -# Command-line arguments to add to menu entries for the Linux kernel. -GRUB_CMDLINE_LINUX="" +# Command line arguments to add to menu entries for the Linux kernel. +GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 panic=300 quiet" -# Set to 'console' to disable graphical terminal (grub-pc only) -#GRUB_TERMINAL=console +# Set the terminal to the platform's native console and disable the graphical +# terminal (grub-pc only). +#GRUB_TERMINAL="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=640x480 +# Set the resolution used on the graphical terminal (WidthxHeight or +# WidthxHeightxDepth), or set to "auto", which selects a platform-specific +# default that should look reasonable. +#GRUB_GFXMODE="640x480" -# Disable GRUB to pass "root=UUID=xxx" parameter to Linux -#GRUB_DISABLE_LINUX_UUID=true +# Prevent GRUB from passing the "root=UUID=xxx" parameter to the Linux kernel. +#GRUB_DISABLE_LINUX_UUID="true" -# Disable generation of recovery mode menu entries +# Disable the creation of recovery mode menu entries. GRUB_DISABLE_RECOVERY="true" -# Disable creating "advanced" submenus, just use flat list +# Disable the creation of submenus, just use the flat menu with all entries. GRUB_DISABLE_SUBMENU="true" -# Control which initial ramdisk should grub-mkconfig prefer when searching -# default is initrd-*.gz created by geninitrd, uncomment to make it prefer -# initramfs-*.img created by dracut -#GRUB_PREFER_DRACUT="true" - -# Uncomment to get a beep at grub start -#GRUB_INIT_TUNE="480 440 1" +# Set to "true" to remove the "--unrestricted" option from the boot entries. +GRUB_RESTRICTED="false"