Common grub errors

Source: Internet
Author: User
Tags unsupported

1. Possible Errors in the stage1 stage:

Grub typically prints an error message and suspends the machine for an error at this stage, unless you restart by CTRL-ALT-DEL.

A) hard disk error: the disk size and CHS parameters of stage 1.5 files cannot be interpreted.

B) floppy error: indicates the size of the floppy disk where the stage 1.5 file cannot be located and the CHS Parameter

C) read error: the stage 1.5 or stage2 file cannot be read.

D) Geom error: either stage2 or stage 1.5 is out of the accessible range of BIOS read calls.

Possible Errors in 2 stage 1.5/2:

Generally, an error message "error <n>" is printed, and the error severity is used to determine whether to proceed.

Quote: 1: Filename must be either an absolute filename or blocklist
Explanation: Error 1 indicates that the file name format is incorrect. In grub, the file is either given in an absolute path.
Example:
Grub> kernel vmlinuz root = label =/
Error 1: Filename must be either an absolute pathname or blocklist
Grub>

Quote: 2: Bad file or directory type
Explanation: Error 2 indicates that the command expects a common file, but the object of the corresponding file name is a symbolic link, directory, FIFO
Example:
Grub> kernel/testdir root = label =/
Error 2: Bad file or directory type
Grub>

Quote: 3: bad or invalid upt data while decompressing File

Explanation: Error 3 indicates an error occurred when extracting the file. This file may be corrupted.

Quote: 4: bad or incompatible header in compressed file
Explanation: Error 4 indicates that the Header Format of the compressed file is incompatible or incorrect.

Quote: 5: Partition Table invalid or partition upt
Explanation: Error 5 indicates that the partition table is invalid or damaged. This is a bad omen

Quote: 6: mismatched or invalid upt version of stage1/stage2
Explanation: The "Install" command indicates that the issue numbers of stage1 and stage2 are incompatible.

Quote: 7: loading below 1 MB is not supported
Explanation: this error is returned if the lowest address in a kernel is below
The 1 MB boundary. the Linux zimage format is a special case and
Can be handled since it has a fixed Loading address and maximum size

Quote: 8: kernel must be loaded before booting
Explanation: Error 8 indicates that the kernel command is not executed before the boot command is executed.

Quote: 9: Unknown boot failure
Explanation: Error 9 indicates an unknown boot error.

Quote: 10: Unsupported multiboot features requested
Explanation: Error 10 indicates that the function required by the multiboot header request is not supported by grub.

Quote: 11: Unrecognized device string
Explanation: Error 11 indicates an unrecognized device string.
Example:
Grub> root hd0
Error 11: Unrecognized device string
Grub>

Quote: 12: Invalid device requested
Explanation: Error 12 indicates that the requested device is invalid.
Example:
Grub> root (hd2)
Error 21: Selected disk does not exist
Grub> kernel/GRUB/grub. conf root = label =/
Error 12: Invalid device requested
Grub>

Quote: 13: Invalid or unsupported executable format
Explanation: Error 13 indicates an invalid or unrecognized executable format
Example:
Grub> kernel/GRUB/grub. conf root = label =/
Error 13: Invalid or unsupported executable format
Grub>

Quote: 14: filesystem compatibility error, cannot read whole file
Explanation: Error 14 indicates that the file system compatibility is incorrect and the entire file cannot be read.

Quote: 15: file not found
Explanation: the requested file cannot be found.
Example:
Grub> Find/grub-noexist/grub. conf
Error 15: file not found
Grub>

Quote: 16: inconsistent filesystem Structure
Explanation: Error 16 indicates inconsistent file system structure. The file system structure may be damaged.

Quote: 17: Cannot mount selected partition
Explanation: an error on the 17th indicates that the specified partition cannot be mounted. For example, swap Partition
Example:
Grub> root (hd0, 2) is a swap partition.
Filesystem type unknown, partition type 0x82
Grub> kernel/vmlinuz
Error 17: Cannot mount selected partition
Grub>

Quote: 18: Selected cylinder exceeds maximum supported by BIOS
Explanation: if the number 18 is incorrect, the selected cylinder exceeds the maximum capacity supported by BIOS. This usually happens when the LBA mode is not supported.
.

Quote: 19: Linux kernel must be loaded before initrd
Explanation: Error 19 indicates that the kernel command must be executed before the initrd command is executed.

Quote: 20: multiboot kernel must be loaded before modules
Explanation: If error 20 is returned, the kernel command must be executed before the module or moduleunzip command is executed.

Quote: 21: Selected disk does not exist
Explanation: Error 21 indicates that the selected disk does not exist.
Example:
Grub> root (hd2)
Error 21: Selected disk does not exist
Grub>

Quote: 22: no such Partition
Explanation: Error 22 indicates that the partition does not exist.
Example:
Grub> root (hd0, 10)
Error 22: no such Partition
Grub>

Quote: 23: Error while parsing number
Explanation: The 23rd error indicates that the parameter is incorrectly interpreted. A value is expected, but the parameter is of another type.
Example:
Grub> root (hda, 0)
Error 23: Error while parsing number
Grub>

Quote: 24: attempt to access block outside Partition
Explanation: Error 24 indicates that the block to be accessed exceeds the partition.

Quote: 25: disk read error
Explanation: Error 25 indicates a disk read error.

Quote: 26: Too extends Symbolic Links
Explanation: Error 26 indicates too many symbolic connections (up to five connections are allowed by default)

Quote: 27: Unrecognized command
Explanation: Unrecognized commands

Quote: 28: selected item cannot fit into memory
Explanation: The selected object cannot be loaded into the memory.
Example:
[Root @ monitor boot] # dd If =/dev/Zero of = vmlinuz-2.4.20-31.9 BS = 1024 COUNT = 1 seek = 1
Read 1 + 0 blocks
Output 1 + 0 blocks

[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>

Quote: 29: disk write error
Explanation: disk write error

Quote: 30: invalid argument
Explanation: Invalid Parameters
Example:
Grub> serial -- noarg = 0
Error 30: invalid argument
Grub>

Quote: 31: file is not sector aligned
Explanation: this error may occur only when you access a reiserfs partition
Block-lists (e.g. The command 'install'). In this case, you should
Mount the partition with the '-O notail' option.

Quote: 32: Must be authenticated
Explanation: You must enter a password to continue the following operations. For example, the configuration file contains the password or lock command.
Example:
Password root1234
Title DoS
Lock
Rootnoverify (hd0, 0)
Chainloader + 1

Quote: 33: serial device not configured
Explanation: Error 33 indicates that the serial port is not configured yet. This usually happens when you execute terminal serial.

Quote: 34: no spare sectors on the disk
Explanation: the free space on the disk is insufficient. It may occur when we embed stage 1.5 into the space after MBR. However, this part of space may already be used by partitioned tables.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.