Skip to content

Instantly share code, notes, and snippets.

@ismet55555
Last active February 4, 2023 18:15
Show Gist options
  • Save ismet55555/4cdeff06e0ed417fbd7b8100ceb29751 to your computer and use it in GitHub Desktop.
Save ismet55555/4cdeff06e0ed417fbd7b8100ceb29751 to your computer and use it in GitHub Desktop.
Skipping GRUB boot menu entirely
##########################################################################
#
# This is the GRUB startup manu configuration file used to customize
# the GRUB menu
#
# This file: /etc/default/grub
# After file update, run the following:
# sudo update-grub
#
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
#
##########################################################################
GRUB_DEFAULT="Ubuntu" # <--- Default OS selection
GRUB_TIMEOUT_STYLE="menu" # <--- If countdown, show progress bar
GRUB_TIMEOUT="0" # <--- Boot defaults after this many seconds
GRUB_HIDDEN_TIMEOUT="0" # <--- Wait this many seconds before showing menu
GRUB_RECORDFAIL_TIMEOUT="0" # <--- Workaround for skipping GRUB menu
# Show linux load outputs
GRUB_CMDLINE_LINUX_DEFAULT="splash"
# Generate more informative menu entry titles
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
# Optional, if forcing a set resolution
GRUB_GFXMODE="1920x1080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment