LILO

From ArchWiki

Jump to: navigation, search
Article summary
Performing basic LILO tasks.
Language
English
Related
GRUB
Image:Tango-document-new.png This article is a stub.
This typically means the article is a placeholder for more content to come. Knowledgeable users are encouraged to help expand the article.

The LInux LOader, or LILO for short, is a legacy multi-boot loader for Linux systems. In spite of being the standard choice over the course of several years, it has been slowly phased out thanks to the advent of GRUB, an alternative boot loader offering easier configuration and less chances of rendering systems unbootable.

Contents

Installation

LILO can be installed during system installation by selecting lilo during package selection. It can be installed after the fact with:

# pacman -S lilo

Configuration

LILO is configured by editing the /etc/lilo.conf file and running lilo afterwards to apply the new configuration. If choosing LILO during the Arch Linux installation process, the configuration file should have been already performed.

As a reminder, consider that LILO needs to be run after every kernel upgrade, otherwise the system is likely to be rendered unbootable.

More help on setting up LILO can be found in the LILO-mini-HOWTO.

Sample setup

A typical LILO setup:

Tip: If LILO is really slow while loading the bzImage, try adding compact to /etc/lilo.conf's global section, as shown below.
File: /etc/lilo.conf
#
# /etc/lilo.conf
#

boot=/dev/hda
# This line often fixes L40 errors on bootup
# disk=/dev/hda bios=0x80

default=Arch
timeout=100
lba32
prompt
compact

image=/boot/vmlinuz26
        label=Arch
	append="devfs=nomount"
	vga=788
        root=/dev/hda2
        read-only

image=/boot/vmlinuz26
        label=ArchRescue
        root=/dev/hda8
        read-only

other=/dev/hda1
        label=Windows

# End of file

Resources

Personal tools