Go to the first, previous, next, last section, table of contents.


4.1 LILO: a bootloader for the Linux kernel

LILO is a popular boot loader for x86. LILO's boot loader is usually installed with:

# /sbin/lilo

If you are using a boot disk, then you should do this instead: (where `/dev/hda1' should be replaced with your root device)

# mount /dev/hda1 /mnt
# chroot /mnt /sbin/lilo
# umount /dev/hda1

Old versions of LILO don't support LBA mode (see section 3.1 The PC BIOS). LBA mode is enabled with the lba32 or linear option, in `/etc/lilo.conf' (see the LILO documentation for more info).

If you use LBA mode, you should have no problems, as long as your BIOS supports LBA.

If you use CHS mode, then the partition with your `/boot' directory must finish before cylinder 1024. So, if you have a large disk (say, over 8 gigabytes), you should have a `/boot' partition near the start of your disk.


Go to the first, previous, next, last section, table of contents.