ubuntu server启动时一直停留在GRUB系统选择引导界面,不能自动进入默认系统

lpp1989 2014-11-12 03:41:18
在电脑上只安装了ubuntu server,安装完成后重启时,一直停留在GRUB引导界面,手动enter后才能进入默认系统,不能自动进入。现在想自动进入该如何修改参数?


系统的/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=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=""
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_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

...全文
1499 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
中国小菜鸟 2014-11-13
  • 打赏
  • 举报
回复
引用 5 楼 lpp1989 的回复:
[quote=引用 4 楼 china_xiaocainiao 的回复:] 忘记说了,改完后需要执行一下update-grub才能生效
修改完我执行了sudo update-grub,也不起作用 [/quote] 哦,从图上看你的是grub2,那么你的grub.cfg也应该在/boot/grub2/grub.cfg,试试update-grub2
lpp1989 2014-11-13
  • 打赏
  • 举报
回复
引用 4 楼 china_xiaocainiao 的回复:
忘记说了,改完后需要执行一下update-grub才能生效
修改完我执行了sudo update-grub,也不起作用
中国小菜鸟 2014-11-13
  • 打赏
  • 举报
回复
引用 3 楼 lpp1989 的回复:
以上两种方法我都试过了,开机后仍然是原来的画面,不会自动进入系统。
忘记说了,改完后需要执行一下update-grub才能生效
lpp1989 2014-11-13
  • 打赏
  • 举报
回复
以上两种方法我都试过了,开机后仍然是原来的画面,不会自动进入系统。
  • 打赏
  • 举报
回复
Give grub_timeout a positive value, say 10 seconds grub_timeout=10
中国小菜鸟 2014-11-12
  • 打赏
  • 举报
回复
注释掉这行 GRUB_HIDDEN_TIMEOUT_QUIET=true 更多信息见: info -f grub -n 'Simple configuration'

19,620

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧