LILO - ParabolaWiki

# LILO

Summary
An overview of the installation and use of the LILO multi-boot loader.
Overview
In order to boot Parabola, a Linux-capable boot loader such as GRUB, GRUB2, LILO, or Syslinux must be installed to the Master Boot Record, or the GUID Partition Table. The boot loader is responsible for loading the kernel and initial ramdisk before initiating the boot process.

The LInux LOader, or LILO for short, is a legacy multi-boot loader for GNU/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 chance of rendering systems unbootable. However, many users still prefer the simplicity of traditional LILO, and it is still actively developed.

## Installation

LILO can be installed during system installation by selecting lilo during package selection.

It can be installed after the fact with the package lilo, available in the Official Repositories.

## 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 Parabola 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 left in an unbootable state.

### 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.

    /etc/lilo.conf

    #
    # /etc/lilo.conf
    #

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

    default=Parabola
    timeout=100
    lba32
    prompt
    compact

    image=/boot/vmlinuz-linux-libre
            label=Parabola
    	append="devfs=nomount"
    	vga=788
            root=/dev/hda2
            read-only

    image=/boot/vmlinuz-linux-libre
            label=ParabolaRescue
            root=/dev/hda8
            read-only

    # End of file

You can use hwinfo --framebuffer to determine what vga modes you can use.

## See also

- List of kernel parameters that can be used at boot time
- List of kernel paramaters with further explanation and grouped by like options ('Kernel Boot Command-Line Parameter Reference', Linux Kernel In A Nutshell)

## Acknowledgement

This wiki article is based on ArchWiki. We may have removed non-FSDG bits from it.
Categories:

- Boot loaders
- Stub