LinuxSir.cn,穿越时空的Linuxsir!

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

GRUB启动问题,不得其解?????

[复制链接]
发表于 2007-12-23 21:38:49 | 显示全部楼层 |阅读模式
我的机连续开有5,6天了,今天去看突然发现卡在这里了

GRUB Loading stage2. Read Error.

不能进入Grub

我估计是Grub出问题了,于是搜了重装Grub的方法,

用linux的修复盘启动,一路正常,进入到

Your system has been mounted
under /mnt/sysimage.
Press [enter] to gei a shell.If you ...
.......
.......
(这里是告诉你如果要进入根文件系统就用命令chroot /mnt/sysimage)

然后我就按了enter键,这时硬盘就嗒嗒。。。声响了,修复模式也进入不了
不知道是为什么。。。。。
重新试了几次,都是这样,回了车以后就是嗒嗒声响,屏幕也是全蓝,死在那里
最有趣的是嗒嗒声响,响了一下有不响了。。


既然recesu模式进不了,我就用liveCD, 进去后重装Grub,一路提示安装成功
Grub>root (hd0,6)
Grub>setup (hd0)

重启

结果出现新的错误

GRUB Loading stage1.5.

GRUB loading, please wait...
Error 18


网上搜了一下,说是BIOS映像不过大,boot不能放在8G后后面

Grub Error 18
Situation
Code Listing 6.1: Grub Output
kernel (hd1,4)/bzImage root=/dev/hdb7
Error 18: Selected cylinder exceeds max supported by BIOS
Solution
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).
Try an update for your BIOS and/or move your boot partition to the front (or at least into the appropriate range).


Stage2 errors 18 :
Selected cylinder exceeds maximum supported by BIOS
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).


我的硬盘是80G,
WINDOWS XP 在C盘(主分区)
/dev/sda1 * 1 1049 8426061 c W95 FAT32 (LBA)
/dev/sda2 1050 9964 71609737+ f W95 Ext'd (LBA)
/dev/sda5 1050 2354 10482381 7 HPFS/NTFS
/dev/sda6 2355 4965 20972826 7 HPFS/NTFS

boot在sda7分去中,大约有128M

按照error8的说明,解决的办法是BIOS需要升级或把boot分区提前来,但是我的机以前都这样用了几个月了,今天才突然变成这样的,不明白会这样的?????
请问大家,为什么会这样啊,?????
发表于 2007-12-24 00:58:34 | 显示全部楼层
mhdd测试下硬盘把
回复 支持 反对

使用道具 举报

发表于 2007-12-24 15:14:11 | 显示全部楼层
硬盘是不是有了坏道?
回复 支持 反对

使用道具 举报

发表于 2007-12-24 15:38:47 | 显示全部楼层
感觉硬盘快不行了,我原来有块硬盘快坏之前就是出现滴答声,楼主注意备份数据阿。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 17:26:15 | 显示全部楼层
谢谢提醒!!!!!
我想也是坏道了,但是去年3月份才买的哦,那么快就坏道了。。。

今天下午用DOS盘,在DOS下用
fdisk   /mbr
重启,竟然可以进入WINDOWS哦,而且在Windows下,C,D,E盘一切用的正常
我想可能是,在删除了MBR上的Grub后,BIOS就跳过MBR那一扇区,不去读MBR,
直接装载(hd0,0)的NTLOADER

所以我现在怀疑有两个可能:
1:就是硬盘里的(hd0,6)/grub   即/boot分区的GRUB本身已经出错了,即使在
      liveCD里成功安装了GRUB,把Grub写到了MBR中,但也在装载stage时,到
      了stage1.5就卡住了。同样,用rescue模式下,到了最后要去读stage时,
      因为stage本身出错了,故不能够装载Grub或在rescue模式下进入Shell

2:   硬盘本身的MBR(第0磁道,第0扇区)已经坏道了,在读的时候会嗒嗒声响,
      但又有怀疑,坏道的话,磁头不是可以跳过去,继续读的吗?而这里是卡住了?
   

我想重装linux系统,但linux里面有一些重要文件,现在有没有办法进入shell,
哪怕是rescue模式,只要能够把那些文件备份出来就好,可现在不会?????
求救中???????
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 22:48:09 | 显示全部楼层
用ntloader引导好象也不行哦,确定应该是坏道了

在liveCD里:
cd /mnt
mkdir c
mount /dev/sda1 /mnt/c

然后
grub
grub>root (hd0,6)
grub>setup (hd0)
提示安装成功
grub>quit

dd if=/dev/sda1 of=/mnt/c/linux.boot  bs=512  count=1
提示复制成功

重启,此时错误提示还是一样,error 18
在DOS下,
fdisk /mbr
重启

进入windows
在C盘下确实看到了linux.boot文件
在boot.ini文件最后一行加入
C:\linux.boot="help,,help!!!"

重启,结果不行,enter "help,,help!!",提示是/system32...之类的东东,

确认是坏道了
回复 支持 反对

使用道具 举报

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

本版积分规则

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