LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 865|回复: 10

求助

[复制链接]
发表于 2004-12-5 15:58:14 | 显示全部楼层 |阅读模式
我在一次磁盘检查时用启动盘进入了dos,结果重启时发现屏幕上原来的grub菜单界面成了"grub>"的形式.按照
"root (hd0,7)"我的分区linux在hda7
"setup (hd0)"
再次重启,发现只能进入windows2000,无法进入rh9.0,而且进入的速度大大减慢,需要很长时间的引导.可以确定的是grub没有坏.而且rh9.0也没有任何问题.阅读了这里的大量的相关主题,我还是不得要领.请高手门不吝赐教.:confused:
发表于 2004-12-5 16:28:50 | 显示全部楼层
hda7 should be root (hd0,6)!
 楼主| 发表于 2004-12-5 22:40:56 | 显示全部楼层

还是不行

感谢d00m3d的解答,我按照你的说法,等我进入rescue模式后,输入grub,然后输入
"root (hd0,6)"
然后系统提示,分区无法识别.当然也就无法setup
下面是我在输入"root (hd0,+tab"时系统的提示

partition num:0 filesystem type unknow,partition type 0*7
              4                                          
              5                  is fat                0*b
              6                                        0*7
              7                  is ext2fs,               0*83
              8                  unknow                   0*82
              9                  is fat                    0*b
  
不是说grub支持ntfs吗??为什么我的ntfs分区区别不出来呢?
结果,等我再次启动时,系统好像进入死循环一样重复显示"loading grub"无奈,我用win的启动盘到dos中,用DM重写了
MBR,结果,win2000可以启动了,而且启动的很快.好像跳过了grub一样. 用 explore2fs 查看linux中的/boot/grub 其中的内容还在,而且好像也不错啊.现在linux还是进不去.我该怎么办???:help
 楼主| 发表于 2004-12-5 22:51:14 | 显示全部楼层

grub

default=1
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd0,8)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
这是我用explore2fs导出到windows的grub.conf
发表于 2004-12-5 22:51:39 | 显示全部楼层
首先不要使用帮助或者求助之类的主题,这样不利于别人清楚的的问题是什么,影响了可能想帮助你的人对你的印象.

你重写mbr以后先前在mbr的grub就不存在了所以就向你说的那样跳过了grub.

至于重写grub的问题看看下边:
http://www.chinaunix.net/jh/4/421778.html

要注意的是这里说的root并不是系统中的root而是你而启动文件的目录是/boot  就是你启动的核心文件的所在的目录.
发表于 2004-12-5 23:07:17 | 显示全部楼层

回复: grub

最初由 ffsmq 发表
default=1
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
        root (hd0,8)
        kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
        initrd /boot/initrd-2.4.20-8.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
这是我用explore2fs导出到windows的grub.conf

I am confused.  Your grub.conf specified (hd0,8), this should correspond to hda9, not hda7.

If it is the case, you should enter (hd0,8), not (hd0,6) in the previous boot.  Unfortunately, you have wiped out the MBR.  Now, you need to re-install grub again.

There are many people asked the same questions on how to re-install grub. Do a simple search of GRUB in the forum, you will get the answer.
发表于 2004-12-5 23:28:53 | 显示全部楼层
mbr 只有512个字节,是装不下grub的,只是装入grub的stage 1
然后再逐步的引导系统.
 楼主| 发表于 2004-12-6 14:11:48 | 显示全部楼层

re:d00m3d

Mr d00m3d
     At first ,I think hda's number should be subscribe one.So I do it,while you told me it should be sub one again.When I try it,my system was fall in trapped.I have no other way but wiped out the MBR.Could you tell me ---why my system was in dead lock????So I am confused too.

Another I found one software called "grub for dos"could you tell me how to use it correctly?

Thank you very much!:thank
 楼主| 发表于 2004-12-6 14:12:06 | 显示全部楼层

re:d00m3d

Mr d00m3d
     At first ,I think hda's number should be subscribe one.So I do it,while you told me it should be sub one again.When I try it,my system was fall in trapped.I have no other way but wiped out the MBR.Could you tell me ---why my system was in dead lock????So I am confused too.

Another I found one software called "grub for dos"could you tell me how to use it correctly?

Thank you very much!:thank
 楼主| 发表于 2004-12-6 14:14:40 | 显示全部楼层

感谢

感谢大家的解答.bst你的意见我已经看到了.帖子我也看了.非常好!谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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