grub 提示 error 15,该怎么办?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
gwking
帖子: 1
注册时间: 2005-12-13 12:13

grub 提示 error 15,该怎么办?

#1

帖子 gwking » 2005-12-13 12:20

grub 提示 error 15,该怎么办?

1. 之前 windows有c: -- f:(hda7),ubuntu安装在hda8(swap),hda9(ext3 / ),
2. 由于hda9空间不够了,于是格式化hda7为ext3,一直不能mount上去,
3. fdisk分区后,原来的hda9变成了hda8,f:变成了hda9,
4. 修改menu.lst中hda9为hda8,保存,重启
5. 提示grub error15,

该如何是好?多谢了。
LXYMARINE CORP.
帖子: 29
注册时间: 2005-12-17 0:28

#2

帖子 LXYMARINE CORP. » 2005-12-18 2:57

我遇到的是 error 17,因为第一次使用Linux,实在不知道如何是好啊,只好重装了WINXP,接着又装了一次ubun.
查找原因时候,想起好像是PM8.0分了次区,你看,error 15 和 error 17距离这么近,会不会也是分区的问题呀?
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱

#3

帖子 colorpi » 2005-12-18 3:26

我记得以前有个linuxer告诉我,若只有一块硬盘的话,若希望windows和linux共存,最好是将最后一个逻辑分区用来挂载linux系统,这么可以避免一些莫名其妙的引导问题和磁盘问题。
不知道楼上两位是不是这方面的原因。
LXYMARINE CORP.
帖子: 29
注册时间: 2005-12-17 0:28

#4

帖子 LXYMARINE CORP. » 2005-12-18 10:54

很好,按照你说的办法,我又重新分了区,又安装了一遍,果然没有再出现ERROR.
看来果然是分区的问题.问题终于解决啦.哈哈,真可谓听君一席话胜读十年书.
easygoal
帖子: 2
注册时间: 2005-12-19 10:52

#5

帖子 easygoal » 2005-12-19 10:58

在gentoo网站里有详细的grub出错信息整理:
http://forums.gentoo.org/viewtopic.php?t=122656
希望能有帮助

Grub error 15
After hitting return in the grub prompt you get something similar to this one?
Code:

代码: 全选

Booting 'gentoo Linux' 

root (hd0,0) 
Filesystem type is ext2fs, partition type 0x83 
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792 

Error 15: File not found 
Press any key to continue...  
info grub wrote:

代码: 全选

15 : File not found 
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK. 
If it's the kernel that it's missing (bzImage, kernel...):make sure that the file it is referring to exists on your boot partition.

To find out what the exact name of your kernel is, first boot from the live-cd or into your existing linux installation. Then mount /boot if you've got a seperate partition, or mount / if you don't. Then do the following:Code:

代码: 全选

cd /boot 
ls 
This will list all the kernels that you've got on your boot partition.

If your kernel is missing make sure that you compiled a kernel either with genkernel or make menuconfig Code:

代码: 全选

 cd /usr/src/linux/ 
make menuconfig 
and you copied it to your boot partition.Code:

代码: 全选

cp /usr/src/linux/arch/[your architecture, e.g. i386]/boot/bzImage /boot/ 
However if this error is caused while trying to install grub. And is similar to this one:Code:

代码: 全选

grub> root (hd0,0) 
 Filesystem type is xfs, partition type 0x83 

grub> setup (hd0) 
 Checking if "/boot/grub/stage1" exists... no 
 Checking if "/grub/stage1" exists... no 

Error 15: File not found  
First of all make sure that you changed root(hd0,0) and setup (hd0) according to your systems specifications. 
It may also be possible that grub uses other numbers for your drives than your kernel. So although it may be hda it could be that it is not hd0. However usually this is not the case.

Or else give this line a try provided by dirtboyCode:
grub-install /dev/bootdevice


If all else fails make sure that your partition is not somehow corrupt. Be sure that you are able to great symbolic links.
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#6

帖子 millenniumdark » 2005-12-20 18:02

colorpi 写了:我记得以前有个linuxer告诉我,若只有一块硬盘的话,若希望windows和linux共存,最好是将最后一个逻辑分区用来挂载linux系统,这么可以避免一些莫名其妙的引导问题和磁盘问题。
我的lin和win都是主分區,win也重裝過幾次。現在也很好。
回复