|
系统ubuntu10.10,我的系统正常启动时的grub显示超时时间10秒。但是如果我在开机的过程中断电,再开机,grub就不再显示超时时间了,必须手动选择才能进入系统,请问如何超时自动进入系统。 我在、/etc/default/grub里已经设置了超时时间了,但是这个时间只在正常重启的时候对grub生效。而在开机过程中断电的异常重启时不生效,此时grub必须手动选择。 这个问题通常在grub2引导的时候突然断电会出现 由于我们项目所用的UBUNTU系统经常会断电,所以要解决这个问题,谢谢各位!附上我的/etc/default/grub ---------------------------------------------------------- # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg.
GRUB_DEFAULT=0//默认选项 #GRUB_HIDDEN_TIMEOUT=0//注销使得单系统显示grub GRUB_HIDDEN_TIMEOUT_QUIET=true//这个选项干嘛的 GRUB_TIMEOUT=10//超时时间 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console
# The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
|