LINUX系统grub常见错误分析
你还在为不知道LINUX系统grub常见错误分析而烦恼么?接下来是小编为大家收集的LINUX系统grub常见错误分析,希望能帮到大家。
LINUX系统grub常见错误分析
1 : Filename must be either an absolute filename or blocklist
学习啦在线学习网 解释 :1号错误表示文件名格式错误。在 GRUB 中要么是以绝对路径给出文件
例子 :
学习啦在线学习网 grub> kernel vmlinuz root=label=/
学习啦在线学习网 Error 1: Filename must be either an absolute pathname or blocklist
grub>
引用:
学习啦在线学习网 2 : Bad file or directory type
解释 :2号错误表示命令期望的是一个普通文件,但相应文件名的对象是一个符号链接、目录、FIFO
例子 :
grub> kernel /testdir root=LABEL=/
Error 2: Bad file or directory type
学习啦在线学习网 grub>
引用:
3 : Bad or corrupt data while decompressing file
学习啦在线学习网 解释 :3号错误表示解压文件时发生错误。可能是因为这个文件被损坏了
引用:
学习啦在线学习网 4 : Bad or incompatible header in compressed file
解释 :4号错误表示压缩文件的头部格式不被兼容或者错误
引用:
5 : Partition table invalid or corrupt
解释 :5 号错误表示分区表无效或者被破坏。这是一个不好的预兆
引用:
6 : Mismatched or corrupt version of stage1/stage2
解释 :6号错误表示 install 命令发现 stage1 和 stage2 的颁布号不被兼容
引用:
7 : Loading below 1MB is not supported
解释 :This error is returned if the lowest address in a kernel is below
the 1MB boundary. 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
学习啦在线学习网 解释 :8号错误表示执行 boot 命令之前没有先执行 kernel 命令
引用:
9 : Unknown boot failure
解释 :9 号错误表示未知的引导错误
引用:
10 : Unsupported Multiboot features requested
解释 :10 号错误表示请求 Multiboot header 所要求功能不被 GRUB 所支持。
引用:
11 : Unrecognized device string
学习啦在线学习网 解释 :11 号错误表示无法识别的设备字符串。
例子 :
学习啦在线学习网 grub> root hd0
Error 11: Unrecognized device string
grub>
引用:
12 : Invalid device requested
学习啦在线学习网 解释 :12 号错误表示请求的设备无效
例子 :
学习啦在线学习网 grub> root (hd2)
学习啦在线学习网 Error 21: Selected disk does not exist
grub> kernel /grub/grub.conf root=LABEL=/
学习啦在线学习网 Error 12: Invalid device requested
grub>
引用:
13 : Invalid or unsupported executable format
解释 :13 号错误表示无效或者无法识别的可执行格式
例子 :
学习啦在线学习网 grub> kernel /grub/grub.conf root=LABEL=/
Error 13: Invalid or unsupported executable format
grub>
引用:
学习啦在线学习网 14 : Filesystem compatibility error, cannot read whole file
解释 :14 号错误表示文件系统兼容性错误,无法读取整个文件
引用:
学习啦在线学习网 15 : File not found
解释 :请求的文件无法找到
例子 :
学习啦在线学习网 grub> find /grub-noexist/grub.conf
Error 15: File not found
grub>
引用:
16 : Inconsistent filesystem structure
解释 :16 号错误表示不一致的文件系统结构。可能是文件系统结构被破坏了。
引用:
学习啦在线学习网 17 : Cannot mount selected partition
学习啦在线学习网 解释 :17号错误表示无法挂载指定分区。例如 swap 分区
例子 :
学习啦在线学习网 grub> root (hd0,2) 这是一个 swap 分区
学习啦在线学习网 Filesystem type unknown, partition type 0x82
grub> kernel /vmlinuz
学习啦在线学习网 Error 17: Cannot mount selected partition
grub>
引用:
学习啦在线学习网 18 : Selected cylinder exceeds maximum supported by BIOS
学习啦在线学习网 解释 :18 号错误表示选择的柱面超过了 BIOS 支持的最大能力。这通常发生在不支持 LBA 模式
的硬盘上。
引用:
19 : Linux kernel must be loaded before initrd
学习啦在线学习网 解释 :19 号错误表示执行 initrd 命令前必须先执行 kernel 命令
引用:
20 : Multiboot kernel must be loaded before modules
学习啦在线学习网 解释 :20 号错误表示执行 module 或者 moduleunzip 命令前必须先执行 kernel 命令
引用:
21 : Selected disk does not exist
解释 :21 号错误表示选择的磁盘不存在
例子 :
学习啦在线学习网 grub> root (hd2)
Error 21: Selected disk does not exist
学习啦在线学习网 grub>
引用:
22 : No such partition
解释 :22 号错误表示分区不存在
例子 :
grub> root (hd0,10)
Error 22: No such partition
学习啦在线学习网 grub>
引用:
23 : Error while parsing number
学习啦在线学习网 解释 :23 号错误表示参数解释错误,希望是一个数值,但参数却是其他类型
例子 :
学习啦在线学习网 grub> root (hda,0)
学习啦在线学习网 Error 23: Error while parsing number
学习啦在线学习网 grub>
引用:
24 : Attempt to access block outside partition
解释 :24 号错误表示尝试访问的 block 超出了分区
引用:
学习啦在线学习网 25 : Disk read error
学习啦在线学习网 解释 :25 号错误表示磁盘读错误
引用:
学习啦在线学习网 26 : Too many symbolic links
学习啦在线学习网 解释 :26 号错误表示太多的符号连接(默认最多允许5个)
引用:
27 : Unrecognized command
解释 :无法识别的命令
引用:
学习啦在线学习网 28 : Selected item cannot fit into memory
解释 :选择的对象无法被加载到内存中。
例子 :
学习啦在线学习网 [root@monitor boot]# dd if=/dev/zero of=vmlinuz-2.4.20-31.9 bs=1024 count=1 seek=1
学习啦在线学习网 读入了 1+0 个块
输出了 1+0 个块
[root@monitor boot]#grub
grub> kernel /vmlinuz-2.4.20-31.9 root=label=/
[Linux-bzImage, setup=0x1400, size=0xfffff200]
Error 28: Selected item cannot fit into memory
grub>
引用:
学习啦在线学习网 29 : Disk write error
学习啦在线学习网 解释 :磁盘写错误
引用:
30 : Invalid argument
解释 :无效参数
例子 :
grub> serial --noarg=0
Error 30: Invalid argument
学习啦在线学习网 grub>
引用:
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
解释 :要求输入口令才能继续进行下面的操作。例如配置文件中有 password 或者 lock 命令
例子 :
学习啦在线学习网 password root1234
学习啦在线学习网 title DOS
lock
rootnoverify (hd0,0)
学习啦在线学习网 chainloader +1
引用:
33 : Serial device not configured
学习啦在线学习网 解释 :33 号错误表示串口还没有配置。这一般发生在你执行 terminal serial 的时候
引用:
学习啦在线学习网 34 : No spare sectors on the disk
解释 :磁盘自由空间不足。可能发生在把 stage 1.5 嵌入到 MBR 之后的空间的时候。但这部分空间可能已经被分区表使用了
看了“LINUX系统grub常见错误分析”还想看:
LINUX系统grub常见错误分析
![](http://lhpay.gzcl999.com/static/doc/images/pc/icon_star.png)
![](http://lhpay.gzcl999.com/static/doc/images/pc/icon_star.png)
![](http://lhpay.gzcl999.com/static/doc/images/pc/icon_star.png)
![](http://lhpay.gzcl999.com/static/doc/images/pc/icon_star.png)
![](http://lhpay.gzcl999.com/static/doc/images/pc/icon_star.png)