在 Ubuntu 12.04(或更高版本)中,如何设置 GRUB 时间和默认操作系统(我在启动时看到的),因为我是双启动 Windows(7/8)和 Ubuntu(12.04 或更高版本)?
我有一个双启动 ubuntu 和 Windows 8。Ubuntu 是默认启动和倒计时的操作系统,如果我之前没有更改,请选择默认启动的操作系统。当我在 ubuntu 和 windows 8 之间订购时自动隐藏倒计时,然后,我必须按 Enter 键才能从任何突出显示的操作系统启动而没有时间限制。我的问题是:如何始终禁用倒计时并选择哪个操作系统启动时用完/向下箭头键自己,直到我不选择也不按回车键,冻结在 grub 菜单上。任何想法都是我的荣幸
注意:/etc/default/grub
我的 ubuntu 中没有文件。
编辑:我重新安装了 grub ( sudo apt-get --reinstall install grub2 grub-pc
),现在我有了一个/etc/default/grub
文件,但倒计时并没有因为这些变化而停止:
# 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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="-1"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# …
Run Code Online (Sandbox Code Playgroud)