当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 20 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : grub出错表,有grub问题的,先看看这里。
帖子发表于 : 2006-09-03 14:42 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
page 52 GRUB Manual
Chapter 14: Error messages reported by GRUB

14.3 Errors reported by the Stage 2
The general way that the Stage 2 handles errors is to abort the operation in question, print
an error string, then (if possible) either continue based on the fact that an error occurred
or wait for the user to deal with the error.
The following is a comprehensive list of error messages for the Stage 2 (error numbers
for the Stage 1.5 are listed before the colon in each description):
1 : Filename must be either an absolute filename or blocklist
This error is returned if a file name is requested which doesn’t fit the syn-
tax/rules listed in the Chapter 11 [Filesystem], page 31.
2 : Bad file or directory type
This error is returned if a file requested is not a regular file, but something like
a symbolic link, directory, or FIFO.
3 : Bad or corrupt data while decompressing file
This error is returned if the run-length decompression code gets an internal
error. This is usually from a corrupt file.
4 : Bad or incompatible header in compressed file
This error is returned if the file header for a supposedly compressed file is bad.
5 : Partition table invalid or corrupt
This error is returned if the sanity checks on the integrity of the partition table
fail. This is a bad sign.
6 : Mismatched or corrupt version of stage1/stage2
This error is returned if the install command points to incompatible or corrupt
versions of the stage1 or stage2. It can’t detect corruption in general, but this
is a sanity check on the version numbers, which should be correct.
7 : Loading below 1MB is not supported
This error is returned if the lowest address in a kernel is below the 1MB bound-
ary. The Linux zImage format is a special case and can be handled since it has
a fixed loading address and maximum size.
8 : Kernel must be loaded before booting
This error is returned if GRUB is told to execute the boot sequence without
having a kernel to start.
9 : Unknown boot failure
This error is returned if the boot attempt did not succeed for reasons which are
unknown.
10 : Unsupported Multiboot features requested
This error is returned when the Multiboot features word in the Multiboot header
requires a feature that is not recognized. The point of this is that the kernel
requires special handling which GRUB is probably unable to provide.
11 : Unrecognized device string
This error is returned if a device string was expected, and the string encountered
didn’t fit the syntax/rules listed in the Chapter 11 [Filesystem], page 31.
12 : Invalid device requested
This error is returned if a device string is recognizable but does not fall under
the other device errors.
13 : Invalid or unsupported executable format
This error is returned if the kernel image being loaded is not recognized as
Multiboot or one of the supported native formats (Linux zImage or bzImage,
FreeBSD, or NetBSD).
14 : Filesystem compatibility error, cannot read whole file
Some of the filesystem reading code in GRUB has limits on the length of the
files it can read. This error is returned when the user runs into such a limit.
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.
在指定的文件名不存在的时候,返回此错误。不过,其他的各种情况都正常,包括磁盘和分区表信息。
一般情况是,grub的写法,比如以下红色部分写错了。
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-27-386 root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.15-27-386
=======================================
16 : Inconsistent filesystem structure
This error is returned by the filesystem code to denote an internal error caused
by the sanity checks of the filesystem structure on disk not matching what it
expects. This is usually caused by a corrupt filesystem or bugs in the code
handling it in GRUB.
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type
cannot be recognized by GRUB.
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).
19 : Linux kernel must be loaded before initrd
This error is returned if the initrd command is used before loading a Linux
kernel.
20 : Multiboot kernel must be loaded before modules
This error is returned if the module load command is used before loading a
Multiboot kernel. It only makes sense in this case anyway, as GRUB has no
idea how to communicate the presence of such modules to a non-Multiboot-
aware kernel.
21 : Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a
disk or BIOS device that is not present or not recognized by the BIOS in the
system.
22 : No such partition
This error is returned if a partition is requested in the device part of a device-
or full file name which isn’t on the selected disk.
23 : Error while parsing number
This error is returned if GRUB was expecting to read a number and encountered
bad data.
24 : Attempt to access block outside partition
This error is returned if a linear block address is outside of the disk partition.
This generally happens because of a corrupt filesystem on the disk or a bug in
the code handling it in GRUB (it’s a great debugging tool).
25 : Disk read error
This error is returned if there is a disk read error when trying to probe or read
data from a particular disk.
26 : Too many symbolic links
This error is returned if the link count is beyond the maximum (currently 5),
possibly the symbolic links are looped.
27 : Unrecognized command
This error is returned if an unrecognized command is entered on the command-
line or in a boot sequence section of a configuration file and that entry is selected.
28 : Selected item cannot fit into memory
This error is returned if a kernel, module, or raw file load command is either
trying to load its data such that it won’t fit into memory or it is simply too big.
29 : Disk write error
This error is returned if there is a disk write error when trying to write to a
particular disk. This would generally only occur during an install of set active
partition command.
30 : Invalid argument
This error is returned if an argument specified to a command is invalid.
31 : File is not sector aligned
This error may occur only when you access a ReiserFS partition by block-lists
(e.g. the command install). In this case, you should mount the partition with
the ‘-o notail’ option.
32 : Must be authenticated
This error is returned if you try to run a locked entry. You should enter a
correct password before running such an entry.
33 : Serial device not configured
This error is returned if you try to change your terminal to a serial one before
initializing any serial device.
34 : No spare sectors on the disk
This error is returned if a disk doesn’t have enough spare space. This happens
when you try to embed Stage 1.5 into the unused sectors after the MBR, but
the first partition starts right after the MBR or they are used by EZ-BIOS.


_________________
● 鸣学


最后由 eexpress 编辑于 2006-10-05 14:50,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-09-03 14:53 
头像

注册: 2006-09-03 0:34
帖子: 57
送出感谢: 0 次
接收感谢: 0 次
够效率- -b 该不会是因为我的err0r 17 才发的这么夸张的一个大表的吧


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-09-03 15:04 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
就是担心你们找不到grub.pdf啊。 :lol:


_________________
● 鸣学


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-09-23 19:06 
头像

注册: 2006-04-25 11:44
帖子: 155
送出感谢: 0 次
接收感谢: 0 次
说实在的,看了头很疼!!


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-09-23 21:54 

注册: 2006-09-23 21:46
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
有了问题就知道是什么原因拉,非常好的东西啊 8)


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2006-09-26 17:02 

注册: 2006-09-22 15:36
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
看得眼花了


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2006-10-05 14:17 
头像

注册: 2006-06-10 8:43
帖子: 5941
地址: 中国 CS
送出感谢: 0 次
接收感谢: 2
LZ做好事做到底阿
翻译下下咯


_________________
年轻没有失败! ! ! ! ! !
噢!有怪兽,有怪兽!


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2006-10-05 14:51 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
xiehuoli 写道:
LZ做好事做到底阿
翻译下下咯
给出是哪个,我就翻译哪个,加上注释。 :lol:


_________________
● 鸣学


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2006-10-12 3:07 

注册: 2006-09-09 0:35
帖子: 349
送出感谢: 3
接收感谢: 0 次
eexpress 写道:
xiehuoli 写道:
LZ做好事做到底阿
翻译下下咯
给出是哪个,我就翻译哪个,加上注释。 :lol:

翻译17条吧。
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.

我装了freedos和hiweed双引导,后来重新分区都删除了,再重新安装freedos后,引导失败,就报告grub error 17。
我现在唯一的方法是再重装linux,hiweed和ubuntu都能自动修复,可要是我不装呢?
最好能直接修改这个grub,有的时候我只要1 个小小的freedos。
谢谢!


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2006-10-18 9:36 

注册: 2006-04-25 17:07
帖子: 370
送出感谢: 0 次
接收感谢: 0 次
收藏了,以后被查


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2006-10-19 13:51 
头像

注册: 2006-09-12 14:04
帖子: 79
地址: 广州
送出感谢: 0 次
接收感谢: 0 次
这是好东西,留着备用


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2006-10-26 0:46 
头像

注册: 2005-05-23 23:43
帖子: 74
地址: 网络的那一端
送出感谢: 0 次
接收感谢: 0 次
好东西!为啥不提供手册下载????晕! :twisted:


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2006-10-26 0:52 
头像

注册: 2005-05-23 23:43
帖子: 74
地址: 网络的那一端
送出感谢: 0 次
接收感谢: 0 次
Grub 手册 下载: http://www.gnu.org/software/grub/manual/grub.pdf

详细的Grub文档下载地址:http://www.gnu.org/software/grub/manual/


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2006-10-26 20:14 

注册: 2006-10-13 18:53
帖子: 397
地址: 湖南农业大学
送出感谢: 0 次
接收感谢: 0 次
看得我头都大了 


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2006-12-12 18:11 

注册: 2006-08-29 3:43
帖子: 6
地址: 北京
送出感谢: 0 次
接收感谢: 0 次
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).

。。。。我现在遇到的就是这个问题,可是怎么解决呢?
每次都要重新启动好多次才能进ubuntu...非常的不爽阿。。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 20 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译