修改GRUB选项的等待时间

  1. 找到grub配置文件/etc/default/grub
  2. 修改GRUB_TIMEOUT值,默认是10,可修改为任意非负整数
# 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'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
  1. 更新GRUB
$ update-grub

Leave a Reply