# 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'
# vim /etc/default/grub
GRUB_DEFAULT=0 #->设置默认启动项(0:第一个菜单),按menuentry顺序。比如要默认从第2个菜单项启动,数字改为1。
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10 #10s
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX=""
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" #默认的
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" #黑屏
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text" #无GUI界面,文本行显示
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no