X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgrub2.git;a=blobdiff_plain;f=grub.sysconfig;h=ba0af18e03558dc4fc71151449be6ddac2de5db3;hp=91028116cbb896593d4395603439580599b7db1f;hb=HEAD;hpb=71dd2aed5bb2b72c2d2d58235936d03ceec35757 diff --git a/grub.sysconfig b/grub.sysconfig index 9102811..ba0af18 100644 --- a/grub.sysconfig +++ b/grub.sysconfig @@ -4,7 +4,7 @@ # # To disable auto generation of /boot/grub/grub.conf on kernel package # install/upgrade, UPDATE_GRUB must be set to "no". -#UPDATE_GRUB=yes +#UPDATE_GRUB=no # Default entry to boot. Numeric value starting with 0. # Use special value 'saved' to stick with last booted entry. used with GRUB_SAVEDEFAULT @@ -13,15 +13,21 @@ GRUB_DEFAULT=0 # save_default_entry #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 +# Wait this many seconds for a key to be pressed before displaying the menu. +#GRUB_HIDDEN_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'. # To disable IPv6 in kernel, append: ipv6.disable=1 -GRUB_CMDLINE_LINUX_DEFAULT="panic=120 quiet" +GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0 panic=300 quiet" # Command-line arguments to add to menu entries for the Linux kernel. GRUB_CMDLINE_LINUX="" @@ -41,12 +47,10 @@ GRUB_CMDLINE_LINUX="" GRUB_DISABLE_RECOVERY="true" # Disable creating "advanced" submenus, just use flat list -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" +GRUB_DISABLE_SUBMENU="y" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" + +# Disable restricted boot +GRUB_RESTRICTED="false"