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,
该如何是好?多谢了。
grub 提示 error 15,该怎么办?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 1
- 注册时间: 2005-12-13 12:13
-
- 帖子: 29
- 注册时间: 2005-12-17 0:28
-
- 帖子: 125
- 注册时间: 2005-12-02 22:08
- 来自: 毛里求虱
-
- 帖子: 29
- 注册时间: 2005-12-17 0:28
-
- 帖子: 2
- 注册时间: 2005-12-19 10:52
在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:
info grub wrote:
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: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:
and you copied it to your boot partition.Code:
However if this error is caused while trying to install grub. And is similar to this one:Code:
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.
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...
代码: 全选
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.
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
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
代码: 全选
cp /usr/src/linux/arch/[your architecture, e.g. i386]/boot/bzImage /boot/
代码: 全选
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.
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)
- 联系: