QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 964|回复: 3

grub 无法引导? 帮忙啊!!

[复制链接]
发表于 2003-8-31 10:29:27 | 显示全部楼层 |阅读模式
我用的是REahatlinux9.0。 我一启动,就出现grub 版本号
接着是下面的
【Minial BASH-like line edting is supported. For the first word ,TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device [filename]
grub>
然后我输入 grub>boot
Eorror 8: Kernel must be loaded before booting.


请问该如何解决?
望高手不吝赐教!!
发表于 2003-8-31 10:55:32 | 显示全部楼层
GRUB 是这样用的,三步
grub> root (hdx,y)  \\ x=0,表示第一块硬盘,1则是第二块,y=你的LINUX盘所在的分区号,不知道的话,在逗号后面不要填,按下TAB键就会有提示了。

grub> kernel /boot/vmlinuz-xx.xx.xx ro root=/dev/hday  \\ xx.xx.xx是内核的版本号,你不知道,也可以按TAB键,有自动补全和提示,y是你的LINUX根分区所在的分区号,这里的y等与前面那个y+1
grub> boot
就OK了
比如:
grub> root (hd0,1)
grub> kernel /boot/vmlinuz-2.4 ro root=/dev/hda2
grub> boot
回复

使用道具 举报

发表于 2003-8-31 10:58:34 | 显示全部楼层
进入系统之后
运行
#grub-install /dev/hda
就修复了。以后就不用输入那么多了。
回复

使用道具 举报

 楼主| 发表于 2003-8-31 21:13:12 | 显示全部楼层
谢谢啦!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-1 15:21 , Processed in 0.041519 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表