[分享]美化你的GRUB,全面支持中文(菜单、提示、帮助)适用7.04-9.04
-
- 帖子: 78
- 注册时间: 2007-04-22 21:53
出错了...
find /boot/grub/stage1
Error 15: File not found
这个怎么回事阿~
Error 15: File not found
这个怎么回事阿~
-
- 帖子: 78
- 注册时间: 2007-04-22 21:53
-
- 帖子: 78
- 注册时间: 2007-04-22 21:53
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
Re: 错误??
64位的我不知道,我的是32位的,gx287658129 写了:grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd0,8)
grub> root(hd0,8)
Error 27: Unrecognized command
不知道为什么?错误,我的64位7.10 谢谢帮忙看一下!!
在运行find /boot/grub/stage1前,你要
代码: 全选
sudo grub
代码: 全选
find /boot/grub/stage1
代码: 全选
root(hd0,8)
setup (hd0)
quit
-
- 帖子: 78
- 注册时间: 2007-04-22 21:53
重新做了一遍,引导的时候有错误,麻烦楼主抽空回答下哦。
第一步和第二步都没问题,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

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: 重新做了一遍,引导的时候有错误,麻烦楼主抽空回答下哦。
你的/boot是不是单独分区的?我没有遇到过这种情况,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
代码: 全选
grub引导的时候显示错误信息:
GRUB loading, please wait...
graphic file "(hd0,8 )/boot//message.ubugrey"missing,press a key to continue...
-
- 帖子: 78
- 注册时间: 2007-04-22 21:53
-
- 帖子: 66
- 注册时间: 2007-10-14 1:09
- 逍遥昱昕
- 帖子: 103
- 注册时间: 2007-01-12 21:33
- 联系:
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡