[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This chapter describes error messages reported by GRUB when you encounter trouble. See section Invoking the grub shell, if your problem is specific to the grub shell.
14.1 Errors reported by the Stage 1 | ||
14.2 Errors reported by the Stage 1.5 | ||
14.3 Errors reported by the Stage 2 |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The general way that the Stage 1 handles errors is to print an error string and then halt. Pressing CTRL-ALT-DEL will reboot.
The following is a comprehensive list of error messages for the Stage 1:
The stage2 or stage1.5 is being read from a hard disk, and the attempt to determine the size and geometry of the hard disk failed.
The stage2 or stage1.5 is being read from a floppy disk, and the attempt to determine the size and geometry of the floppy disk failed. It's listed as a separate error since the probe sequence is different than for hard disks.
A disk read error happened while trying to read the stage2 or stage1.5.
The location of the stage2 or stage1.5 is not in the portion of the disk supported directly by the BIOS read calls. This could occur because the BIOS translated geometry has been changed by the user or the disk is moved to another machine or controller after installation, or GRUB was not installed using itself (if it was, the Stage 2 version of this error would have been seen during that process and it would not have completed the install).
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The general way that the Stage 1.5 handles errors is to print an error
number in the form Error num
and then halt. Pressing
CTRL-ALT-DEL will reboot.
The error numbers correspond to the errors reported by Stage 2. See section Errors reported by the Stage 2.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
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):
This error is returned if a file name is requested which doesn't fit the syntax/rules listed in the Filesystem syntax and semantics.
This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.
This error is returned if the run-length decompression code gets an internal error. This is usually from a corrupt file.
This error is returned if the file header for a supposedly compressed file is bad.
This error is returned if the sanity checks on the integrity of the partition table fail. This is a bad sign.
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.
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.
This error is returned if GRUB is told to execute the boot sequence without having a kernel to start.
This error is returned if the boot attempt did not succeed for reasons which are unknown.
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.
This error is returned if a device string was expected, and the string encountered didn't fit the syntax/rules listed in the Filesystem syntax and semantics.
This error is returned if a device string is recognizable but does not fall under the other device errors.
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).
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.
This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.
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.
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
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).
This error is returned if the initrd command is used before loading a Linux kernel.
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.
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.
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.
This error is returned if GRUB was expecting to read a number and encountered bad data.
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).
This error is returned if there is a disk read error when trying to probe or read data from a particular disk.
This error is returned if the link count is beyond the maximum (currently 5), possibly the symbolic links are looped.
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.
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.
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.
This error is returned if an argument specified to a command is invalid.
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.
This error is returned if you try to run a locked entry. You should enter a correct password before running such an entry.
This error is returned if you try to change your terminal to a serial one before initializing any serial device.
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.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by root on April, 6 2008 using texi2html 1.76.