[待解决]无论我是装generic的内核更新 还是装 rt内核 GRUB的菜单里都不自动添加到启动项

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
eimar
帖子: 22
注册时间: 2007-04-19 13:47

[待解决]无论我是装generic的内核更新 还是装 rt内核 GRUB的菜单里都不自动添加到启动项

#1

帖子 eimar » 2008-07-30 16:48

无论我是安装generic的内核更新,还是安装 rt内核,GRUB的菜单里都不自己把启动项添加进去


这里请教一下高手些了。谢谢。


都更新到2.6.24-20 了但是GURB菜单不显示。

## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=33300d3e-6605-49c3-be5b-75edbc26d519 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-16-generic
quiet

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=33300d3e-6605-49c3-be5b-75edbc26d519 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet


### END DEBIAN AUTOMAGIC KERNELS LIST
上次由 eimar 在 2008-07-31 23:18,总共编辑 3 次。
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#2

帖子 dogfox » 2008-07-30 17:01

笨方法把

代码: 全选

kernel /boot/vmlinuz-2.6.24-16-generi
更换两个数字即可

代码: 全选

kernel /boot/vmlinuz-2.6.24-20-generi
全世界linux爱好者联合起来 !
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#3

帖子 eimar » 2008-07-30 17:02

回去试试。谢谢
sunzhaoyu2000
帖子: 700
注册时间: 2006-10-18 15:48

#4

帖子 sunzhaoyu2000 » 2008-07-30 17:05

eimar 写了:回去试试。谢谢
可能你装了双系统吧。
这样就有两个/boot/grub/menu.lst
我的就是这样。
所以把手动复制一次即可。
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#5

帖子 eimar » 2008-07-30 21:37

我只能找到一个同MENU.lst文件呀。
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#6

帖子 eimar » 2008-07-30 21:50

dogfox 写了:笨方法把

代码: 全选

kernel /boot/vmlinuz-2.6.24-16-generi
更换两个数字即可

代码: 全选

kernel /boot/vmlinuz-2.6.24-20-generi

也不行,启动三秒左右就卡住不动了。
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#7

帖子 Element » 2008-07-30 23:16

代码: 全选

sudo update-grub 
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#8

帖子 eimar » 2008-07-31 12:56

Element 写了:

代码: 全选

sudo update-grub 
貌似会显示,已经是最新版本了,不确定,等回家试了来。
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#9

帖子 dogfox » 2008-07-31 13:01

你的系统没有联网?
全世界linux爱好者联合起来 !
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#10

帖子 eimar » 2008-07-31 13:42

上了网的呀。在家里的。
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#11

帖子 eimar » 2008-07-31 13:43

GRUB好像是1.50版本的。
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#12

帖子 eimar » 2008-07-31 23:15

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.24-20-rt
Found kernel: /boot/vmlinuz-2.6.24-20-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done


看样子是装上去了的,就是GRUB菜单里没有。
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#13

帖子 eimar » 2008-08-01 12:15

大侠些,帮帮忙呀。
头像
Element
帖子: 3537
注册时间: 2005-09-10 16:04
来自: DG-GD-China

#14

帖子 Element » 2008-08-01 12:52

我记得在更新安装新内核的时候有个提示的,默认的是保持现有grub里的内容的,此选项为第2项。应该选择安装新的启动项到grub,此选项是第1个。
http://element.blog.ubuntu.org.cn/
Ubuntu Jaunty Jackalope...
AMD Barton 2600+
MSI K7N2 Delta-L
Kingston DDR400 512M*2+256M*1
nVidia FX5200
Seagate 80G(Jaunty Jackalope)
Seagate 160G(XXxxXX)
SyncMaster 732N
eimar
帖子: 22
注册时间: 2007-04-19 13:47

#15

帖子 eimar » 2008-08-01 14:36

又今天晚上回家去试。谢谢楼上的。 :D :D :D
回复