2023-05-19 12:50:21 阅读( 2293)
1:Filenamemustbeeitheranabsolutefilenameorblocklist解释:1号错误表示文件名格式错误。
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
Explanation: If the lowest address in the kernel is lower than
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号错误表示在执行引导命令之前没有执行内核命令。
9 : Unknown boot failure
解释:9号错误表示未知的启动错误。
10 : Unsupported Multiboot features requested
解释:错误号10表示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 type0x82
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 之后的空间的时候。但这部分空间可能已经被分区表使用了
猜你喜欢
Guessyoulike