LinuxSir.cn,穿越时空的Linuxsir!

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

grub在启动的时候报告ERROR 18怎么解决?

[复制链接]
发表于 2006-1-12 22:22:14 | 显示全部楼层 |阅读模式
我的机器比较烂,赛扬733,815主板 512M SDR  160G硬盘 DVD刻录机+CD刻录机 17寸液晶

160G硬盘是这么分的:
17G 主分区 -WINXP系统、WINDOWS软件
125G 主分区-电影教程软件包等……
10G -留给SUSE LINUX

用DVD安装盘引导安装……一切顺利,直到重启之后,GRUB报告ERROR 18,于是啥操作系统都进不去了……

继续用安装盘引导把SUSE装完了……但是在图形界面的设置中GRUB总是搞不定,问题依旧。

我只好用急救光盘引导进WINDOWS来求助了:(
发表于 2006-1-13 07:06:45 | 显示全部楼层
找张LiveCD启动後chroot到SuSE的分区,在字符介面下修复GRUB吧

巨体操作方法在基础版内有很多文章,请自行叁考
回复 支持 反对

使用道具 举报

发表于 2006-1-13 12:18:47 | 显示全部楼层

几个可能性但都是BIOS的问题

Post by ihuangyu
我的机器比较烂,赛扬733,815主板 512M SDR  160G硬盘 DVD刻录机+CD刻录机 17寸液晶

160G硬盘是这么分的:
17G 主分区 -WINXP系统、WINDOWS软件
125G 主分区-电影教程软件包等……
10G -留给SUSE LINUX

用DVD安装盘引导安装……一切顺利,直到重启之后,GRUB报告ERROR 18,于是啥操作系统都进不去了……

继续用安装盘引导把SUSE装完了……但是在图形界面的设置中GRUB总是搞不定,问题依旧。

我只好用急救光盘引导进WINDOWS来求助了:(


你第一件可以做的事是看看HD是不是在BIOS中定为LBA的格式
第二件和第三件事比较烦,你先看看这能不能解决
不能再告诉你
回复 支持 反对

使用道具 举报

发表于 2006-3-16 22:35:03 | 显示全部楼层
Post by AvengerMoJo
你第一件可以做的事是看看HD是不是在BIOS中定为LBA的格式
第二件和第三件事比较烦,你先看看这能不能解决
不能再告诉你

AvengerMoJo大哥,我也出现这个问题了。麻烦你能否把第二、三件事也说一下。或者给个链接。
回复 支持 反对

使用道具 举报

发表于 2006-3-17 00:10:20 | 显示全部楼层
Post by walkfarer
AvengerMoJo大哥,我也出现这个问题了。麻烦你能否把第二、三件事也说一下。或者给个链接。


你的boot放什么分区内是不是8G内 如果是旧硬盘把它放在头的分区看看
是bios的问题如果有bios更新也可以
回复 支持 反对

使用道具 举报

发表于 2006-3-17 00:23:59 | 显示全部楼层
Error 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 on others.). In more practical terms this means the BIOS is unable to start executing the kernel because the kernel is not located within the block it can access at boot up time.

This can be circumvented by creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.

The kernel it self does not suffer from the same limitations as the BIOS so after the BIOS has loaded the kernel the kernel will have no problem accessing the whole harddrive. Newer BIOSes will automatically translate the harddrives size in a way that it can be completely contained within the first 1023 cylinders and hence modern computers do not suffer from this problem.
The same error can happen when the BIOS detects a disk in a different way as Linux does. This can happen when changing motherboards or when moving a GRUB-bootable disk from one computer to another. If this happens, just boot with a GRUB floppy, read the C/H/S numbers from the existing partition table and manually edit the BIOS numbers to match. If using a SUSE linux and installing on VM Ware this problem is solved by creating a small partition at the very beginning of the harddisc, and mounting it as /boot.
回复 支持 反对

使用道具 举报

发表于 2006-3-17 12:09:46 | 显示全部楼层
谢谢AvengerMoJo:
我的boot区确实放在8G外,
但是,"modern computers do not suffer from this problem"。安装使用suse的前几天,一直是可以正常引导了。后来我给suse挂了3D驱动,不知怎地就出现这个问题了。

谢谢Thruth:
按照这篇文章讲,好像还真的重新分区不可了。可我的winXp放在了hda0,这可如何是好啊?要重装两个系统呢……,还有一大堆软件!

我想通过修改BIOS看看,不知道可以不?
回复 支持 反对

使用道具 举报

发表于 2006-3-17 12:18:31 | 显示全部楼层
不知道有这个帖子,我先前的新贴子http://www.linuxsir.cn/bbs/showt ... 9973#post1409973, 哪里把问题讲得比较详细,大家去看看。
回复 支持 反对

使用道具 举报

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

本版积分规则

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