University of Turku

Linux Boot errors

Reinstall Linux MBR

If you have swiped the MBR of your boot hard disk, don't worry. Boot from a floppy and go to /etc of your HD. Run 'lilo'.
We assume here:
  • Slackware linux
  • Boot floppy made while installing the system
  • No other problems


Boot error messages

This material is found from Linuxforum 08.04.04. I'll recommend that page for both novices and nerds !* Comments are mine *
OutputProblem
(nothing) No part of LILO has been loaded. LILO either isn't installed or the partition on which its boot sector is located isn't active.
* Try this too: Make a MSDOS Boot disk with FDISK on it. Then boot from it and run 'fdisk /mbr'. This writes Master Boot Record to the HD. Try to boot to Linux on HD. If this fails, boot from boot floppy and try 'mount root=/dev/hda'. If this works, reinstall LILO to the superblock of your partition.
BTW: check BIOS Setup for LBA or LARGE *
L The first stage boot loader has been loaded and started, but it can't load the second stage boot loader. The two-digit error codes indicate the type of problem. (See also section ``Disk error codes''.) This condition usually indicates a media failure or a geometry mismatch (e.g. bad disk parameters).
LI The first stage boot loader was able to load the second stage boot loader, but has failed to execute it. This can either be caused by a geometry mismatch or by moving /boot/boot.b without running the map installer.
*Try this first: Boot to BIOS Setup and check that your HD is set for LBA or LARGE. Try to boot now. It might be you don't have to reinstall Linux.*
LIL The second stage boot loader has been started, but it can't load the descriptor table from the map file. This is typically caused by a media failure or by a geometry mismatch.
LIL? The second stage boot loader has been loaded at an incorrect address. This is typically caused by a subtle geometry mismatch or by moving /boot/boot.b without running the map installer.
LIL- The descriptor table is corrupt. This can either be caused by a geometry mismatch or by moving /boot/map without running the map installer.
LILO All parts of LILO have been successfully loaded.


PTMUSTA at UTU.FI

Under work 26.10.04