app教程网 综合百科 linux grub.cfg(linux grub2)

linux grub.cfg(linux grub2)

In food, the file is either given as an absolute path: grub kernel vmlinuz root=label=/Error 1: the file name must be an absolute path name or a block list grub.

However, the object with the corresponding file name is a symbolic link, a directory and a first-in-first-out example: grubkernel/testdirroot=label=/error2: wrong file or directory type grub.

3 : Bad or corrupt data while decompressing file

解释:3号错误表示提取文件时出错。可能是因为这个文件损坏了。

4:压缩文件中的错误或不兼容的头说明:错误号4表示压缩文件的头格式不兼容或错误。

5:分区表无效或损坏解释:错误5表示分区表无效或损坏。这是一个不好的预兆。

6:阶段1/阶段2的版本不匹配或损坏解释:错误6表示安装命令发现阶段1和阶段2的发行号不兼容。

7: Loading below 1MB is not supported Explanation: If the lowest address in the kernel is below 1MB boundary, this error will be returned. Linux zImage format is a special case that can be handled because it has a fixed loading address and a maximum size.

8:引导前必须加载内核说明:错误号8表示在执行引导命令前没有执行内核命令。

9:未知的引导失败解释:9号错误表示未知的引导错误。

10:请求不支持的多重引导功能解释:错误号10表示GRUB不支持请求多重引导头所请求的功能。

11:无法识别的设备字符串解释:错误号11表示无法识别的设备字符串。

Example: grub root hd0 Error 11: Unrecognized device string grub

12: The requested device is invalid. Explanation: Error No.12 indicates that the requested device is invalid. Example: grub root (hd2) Error No.21: The selected disk does not exist. Grubkernel/grub/grub.conf root=label=/Error No.12: Invalid device requests grub.

13: Invalid or unsupported executable file format explanation: Error No.13 indicates invalid or unrecognized executable format Example: grubkernel/grub/grub.conf root=label=/error 13: Invalid or unsupported executable file format grub.

14:文件系统兼容性错误,无法读取整个文件解释:错误号14表示文件系统不兼容,无法读取整个文件。

15: file explanation not found: the requested file cannot be found. Example: grubfind/grub-noexist/grub.conf Error 15: the file grub cannot be found.

16:文件系统结构不一致解释:错误16表示文件系统结构不一致。可能文件系统结构已损坏。

For example, swap partition Example: grub root (hd0,2) This is a swap partition. The file system type is unknown, and the partition type is0x82 grub kernel /vmlinuz Error 17: The selected partition grub cannot be loaded.

18:选定的柱面超出了BIOS支持的最大容量解释:错误18表示选定的柱面超出了BIOS支持的最大容量。

这通常发生在不支持LBA模式的硬盘上。

19:initrd之前必须加载Linux内核说明:错误号19表示在执行initrd命令之前必须执行内核命令。

20: The multi-boot kernel must be loaded before the module. Explanation: Error No.20 indicates that the kernel command must be executed before executing the component or moduleunzip command.

21: The selected disk does not exist Explanation: Error No.21 indicates that the selected disk does not exist Example: grub root (hd2) Error No.21: grub does not exist on the selected disk.

22. There is no such partition explanation: Error No.22 indicates that the partition does not exist. Example: grubroot (hd0,10) Error No.22: There is no such partition grub.

23:解析数字时出错解释:23号错误表示参数解释错误,应该是数值。

But the parameters are other types of examples: grub root (hda, 0) Error 23: Error in parsing the number grub.

24:尝试访问分区外的块解释:错误号24表示您尝试访问的块超出了分区。

25:磁盘读取错误说明:错误号25表示磁盘读取错误。

26:符号链接太多说明:26号错误表示符号连接太多(默认最多5个)。

27:无法识别的命令解释:无法识别的命令

例子:[root @ monitor boot]# DD if=/dev/zero of=vmlinuz-2。4 .20-31.9 bs=1024计数=1寻道=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:磁盘写入错误解释:磁盘写入错误

30: invalid parameter explanation: invalid parameter example: grub serial-noarg=0 Error 30: invalid parameter grub.

31: File has no sector alignment Explanation: This error only occurs when accessing the ReiserFS partition through a block list (for example, the command "install"). In this case, you should mount the partition with the ` -o notail' option.

For example, there is a password or lock command in the configuration file: password root1234 title DOS lock rootoverride (hd0,0 0) chainloader 1.

33:串行设备未配置解释:错误33表示串行端口尚未配置。这通常发生在您执行终端串行时。

34:磁盘上没有备用扇区解释:磁盘上的可用空间不足。当阶段1.5嵌入MBR后面的空间时,可能会发生这种情况。但是这个空间可能已经被分区表使用了。

本文来自网络,不代表本站立场,转载请注明出处:https: