[分享]美化你的GRUB,全面支持中文(菜单、提示、帮助)适用7.04-9.04

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
shenke0213
帖子: 78
注册时间: 2007-04-22 21:53

出错了...

#91

帖子 shenke0213 » 2007-11-11 12:55

find /boot/grub/stage1

Error 15: File not found

这个怎么回事阿~
shenke0213
帖子: 78
注册时间: 2007-04-22 21:53

#92

帖子 shenke0213 » 2007-11-11 13:16

/boot/grub/里有stage1的阿....
shenke0213
帖子: 78
注册时间: 2007-04-22 21:53

#93

帖子 shenke0213 » 2007-11-11 13:57

上面的问题到解决了
>setup (hd0)  \\根据实际情况填写位置 请问这个什么意思阿 ?
:?:
foxnboy
帖子: 35
注册时间: 2007-11-11 10:14

#94

帖子 foxnboy » 2007-11-11 21:59

我没美化,启动的时候还是变形。怎么办啊?
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#95

帖子 daf3707 » 2007-11-12 8:28

shenke0213 写了:上面的问题到解决了
>setup (hd0)  \\根据实际情况填写位置 请问这个什么意思阿 ?
:?:
这个就根据你find /boot/grub/stage1 出的结果填写,如提示

代码: 全选

hd0,5
,那就运行

代码: 全选

setup(hd0)
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 错误??

#96

帖子 daf3707 » 2007-11-12 8:38

gx287658129 写了:grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,8)
grub> root(hd0,8)

Error 27: Unrecognized command
不知道为什么?错误,我的64位7.10 谢谢帮忙看一下!!
64位的我不知道,我的是32位的,
在运行find /boot/grub/stage1前,你要

代码: 全选

sudo grub
在brub的提示符下运行下面的命令

代码: 全选

 find /boot/grub/stage1
你的值好像是(hd0,8),你就继续在>提示符下

代码: 全选

root(hd0,8)
setup (hd0)
quit
zobertx
帖子: 11
注册时间: 2007-03-09 21:59

#97

帖子 zobertx » 2007-11-12 10:26

很漂亮 谢谢
shenke0213
帖子: 78
注册时间: 2007-04-22 21:53

重新做了一遍,引导的时候有错误,麻烦楼主抽空回答下哦。

#98

帖子 shenke0213 » 2007-11-12 13:23

第一步和第二步都没问题,message包也解压到/boot目录下了。

sudo grub后

grub> find /boot/grub/stage1 \\ 在/boot/grub 目录下明明有 stage1文件的 (确定名字没搞错)

Error 15: File not found

grub> find /grub/stage1
(hd0,8 )

grub> root (hd0,8 )
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+17 p (hd0,8 )/grub/stage2 /grub/menu
.lst"... succeeded
Done.

之后修改 /boot/grub/目录下的menu.lst文件:
在 timeout **下添加了一句 gfxmenu (hd0,8 )/boot/message.ubugrey 保存退出

sudo grub-install /dev/hda && echo 安装成功||(echo 安装grub在hda失败,继续尝试安装在sda;sudo grub-install /dev/sda&& echo grub安装在sda成功||(echo 安装grub在sda失败,将进行检测;sudo grub-install --recheck /dev/sda;sudo grub-install /dev/sda&&echo 安装成功||echo 安装失败))

完成后重启了

grub引导的时候显示错误信息:
GRUB loading, please wait...
graphic file "(hd0,8 )/boot//message.ubugrey"missing,press a key to continue...


在sudo grub后执行setup (hd0)
显示有一句Checking if "/boot/grub/stage1" exists... no
但/boot/grub/目录下明明有stage1阿,为什么结果是no

:?:
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 重新做了一遍,引导的时候有错误,麻烦楼主抽空回答下哦。

#99

帖子 daf3707 » 2007-11-12 16:15

shenke0213 写了:第一步和第二步都没问题,message包也解压到/boot目录下了。
sudo grub后
grub> find /boot/grub/stage1 \\ 在/boot/grub 目录下明明有 stage1文件的 (确定名字没搞错)
Error 15: File not found
grub> find /grub/stage1
(hd0,8 )
grub> root (hd0,8 )
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
grub引导的时候显示错误信息:
GRUB loading, please wait...
graphic file "(hd0,8 )/boot//message.ubugrey"missing,press a key to continue...

在sudo grub后执行setup (hd0)
显示有一句Checking if "/boot/grub/stage1" exists... no
但/boot/grub/目录下明明有stage1阿,为什么结果是no

:?:
你的/boot是不是单独分区的?我没有遇到过这种情况,

代码: 全选

grub引导的时候显示错误信息:
GRUB loading, please wait...
graphic file "(hd0,8 )/boot//message.ubugrey"missing,press a key to continue...
你确定你的/boot目录下有message.ubugrey文件?另外看看menu.lst里是不是写错了,因为你这里提示“/boot//....."应该是一个"/",是你打错了,还是你在menu.lst里写错了?
shenke0213
帖子: 78
注册时间: 2007-04-22 21:53

#100

帖子 shenke0213 » 2007-11-12 19:40

menu.lst 里写的是gfxmenu (hd0,8)/boot/message.ubugrey
我上面打错了
/boot 是单独分区的 分了100M
/boot 下有message.ubugrey

/boot/grub 下面有stag1文件啊 为什么一开始 find的时候找不到的,find /grub/stage1 才找到,郁闷...
allenny
帖子: 66
注册时间: 2007-10-14 1:09

#101

帖子 allenny » 2007-11-12 21:55

我安装完了,但是重启后没有出来,我是ubuntu单系统的,是不是一定要多系统才能看得见阿。
上次由 allenny 在 2007-11-12 22:09,总共编辑 1 次。
头像
逍遥昱昕
帖子: 103
注册时间: 2007-01-12 21:33
联系:

#102

帖子 逍遥昱昕 » 2007-11-12 22:01

双系统重装XP后,不能恢复Grub……没有美化以前可以恢复的……

请问楼主美化之后的重装Grub和没有美化前的是一样的么?
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#103

帖子 daf3707 » 2007-11-13 8:50

逍遥昱昕 写了:双系统重装XP后,不能恢复Grub……没有美化以前可以恢复的……

请问楼主美化之后的重装Grub和没有美化前的是一样的么?
恢复grub,要把那个grub-gfxboot_0.97-5_i386.deb反安装,并把menu.lst里添加的那行去掉。
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#104

帖子 daf3707 » 2007-11-13 8:52

要根据自己的实际情况操作,,,不要照抄。。。
我的/boot是单独分区,就不要

代码: 全选

find /boot/grub/stage1
,而是

代码: 全选

find /grub/stage1
这是19楼朋友的情况,可以借鉴。
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#105

帖子 daf3707 » 2007-11-13 8:55

allenny 写了:我安装完了,但是重启后没有出来,我是ubuntu单系统的,是不是一定要多系统才能看得见阿。
只要你的grub里设的时间够长,就看得到,就是把time XX里的XX改为>5秒,不把只有一个系统没必要吧,这样反而慢了。
回复