刚装的9.10。grub2引导开机后显示grub loading 接着就黑屏一会(在第一行第一列有一个短横线,然后就进入系统了,没有显示grub 菜单选项??请问这是怎么回事啊??
贴上我的/boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set d009cfe7-1731-4c5c-b062-f98a5f5c5737
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set d009cfe7-1731-4c5c-b062-f98a5f5c5737
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=d009cfe7-1731-4c5c-b062-f98a5f5c5737 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,8)
search --no-floppy --fs-uuid --set d009cfe7-1731-4c5c-b062-f98a5f5c5737
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=d009cfe7-1731-4c5c-b062-f98a5f5c5737 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
9.10 grub2没有显示菜单???
-
- 帖子: 50
- 注册时间: 2009-02-09 20:44
-
- 帖子: 42
- 注册时间: 2006-04-18 9:18
Re: 9.10 grub2没有显示菜单???
按你的配置文件来看,只要开机按住shift键,菜单就会出来了。
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 9.10 grub2没有显示菜单???
也可以修改sudo gedit /etc/grub.d/30_os-prober
把里面的set timeout=0全改为set timeout=10,再
sudo update-grub
把里面的set timeout=0全改为set timeout=10,再
sudo update-grub
-
- 帖子: 50
- 注册时间: 2009-02-09 20:44
Re: 9.10 grub2没有显示菜单???
谢谢啦,虽然我没有照做,但是有按你的思路把shift的那段注释掉后显示正常!fatality 写了:按你的配置文件来看,只要开机按住shift键,菜单就会出来了。
- v02009
- 帖子: 138
- 注册时间: 2009-10-04 15:03
Re: 9.10 grub2没有显示菜单???
我是在XP下硬盘安装的ubuntu9.10,同楼主一样没有显示菜单,连XP也没有,直接进入ubuntu,grub.cfg同楼主一样。
- apn
- 帖子: 362
- 注册时间: 2007-05-06 21:17
- lilydjwg
- 论坛版主
- 帖子: 4249
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: 9.10 grub2没有显示菜单???
按Esc没反应的+1apn 写了:原来要按shift,我就说呢,装了910后怎么死按esc调不出grub的菜单呢,搞的我至今还没见过grub2啥样,呃~~