求助:原grub美化方法在8.10下失效

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
rickychenh
帖子: 20
注册时间: 2008-07-04 20:02
来自: 四川 成都 UESTC

求助:原grub美化方法在8.10下失效

#1

帖子 rickychenh » 2008-12-19 15:30

GGJJ们帮帮忙啊
原来装的是8.04按照这个帖子的方法美化grub成功http://forum.ubuntu.org.cn/viewtopic.php?t=74038

但是现在upgrade到8.10后这个方法失效了,具体表现在执行第4步设置grub时,输入find /boot/grub/stage1显示file not found,/boot没有单独分区,后来发现在8.04的menu.lst中每个启动项下都有root=(hd0,6)之类的命令,但是8.10的menu.lst里没有了,我想无法设置grub的问题就在这儿

呼唤高手帮忙找出适合8.10的grub美化,万分感谢
ryoohki
帖子: 3249
注册时间: 2008-10-28 20:18

Re: 求助:原grub美化方法在8.10下失效

#2

帖子 ryoohki » 2008-12-19 15:54

把 UUID=XXXXXXXXXX 改成 (hdX,Y) 这样的格式 就行了
UUID对应/dev/sdX,Y 的关系用ls -al /dev/disk/by-uuid 来查询 ,再通过 UUID对应的/dev/sdX.Y 换算成(hdX,Y)
头像
rickychenh
帖子: 20
注册时间: 2008-07-04 20:02
来自: 四川 成都 UESTC

Re: 求助:原grub美化方法在8.10下失效

#3

帖子 rickychenh » 2008-12-19 19:11

ryoohki 写了:把 UUID=XXXXXXXXXX 改成 (hdX,Y) 这样的格式 就行了
UUID对应/dev/sdX,Y 的关系用ls -al /dev/disk/by-uuid 来查询 ,再通过 UUID对应的/dev/sdX.Y 换算成(hdX,Y)
但是我改了之后就启动不了。。。555,uuid对应的是hd(0,6),应该是这个,因为我分区表一直没变过,8.04里的启动分区是这个,8.10应该也是这个
menu.lst如下面
title Ubuntu 8.10, kernel 2.6.27-10-generic
uuid 4eca8a30-4bfb-4b8c-8ebd-f8f124601295
kernel /boot/vmlinuz-2.6.27-10-generic root=UUID=4eca8a30-4bfb-4b8c-8ebd-f8f124601295 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-10-generic
quiet

改uuid是把第二行的uuid ****改为root (hd0,6)还是把第三行中的 root=UUID=***改为root=(hd0,6),亦或是二者都改?
貌似我改了第三行中的内容就启动不了了
ryoohki
帖子: 3249
注册时间: 2008-10-28 20:18

Re: 求助:原grub美化方法在8.10下失效

#4

帖子 ryoohki » 2008-12-20 0:40

title Ubuntu 8.10, kernel 2.6.27-10-generic
root (hd0,6) ----指定 /boot 的所在分区
kernel /boot/vmlinuz-2.6.27-10-generic root=(hd0,6) ro locale=zh_CN quiet splash ---指定系统的根分区
initrd /boot/initrd.img-2.6.27-10-generic
quiet
头像
rickychenh
帖子: 20
注册时间: 2008-07-04 20:02
来自: 四川 成都 UESTC

Re: 求助:原grub美化方法在8.10下失效

#5

帖子 rickychenh » 2008-12-20 22:31

ryoohki 写了:title Ubuntu 8.10, kernel 2.6.27-10-generic
root (hd0,6) ----指定 /boot 的所在分区
kernel /boot/vmlinuz-2.6.27-10-generic root=(hd0,6) ro locale=zh_CN quiet splash ---指定系统的根分区
initrd /boot/initrd.img-2.6.27-10-generic
quiet
但是这样改了就启动不了了。。。。
头像
rickychenh
帖子: 20
注册时间: 2008-07-04 20:02
来自: 四川 成都 UESTC

Re: 求助:原grub美化方法在8.10下失效

#6

帖子 rickychenh » 2008-12-21 14:13

:em20 :em20 :em20 :em20 怎么弄。。。
回复