Lilo

From CBLFS
Revision as of 03:54, 2 July 2009 by Axel Bergerhoff (talk | contribs) (Configuring)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://www.ibiblio.org/pub/Linux/system/boot/lilo/lilo-22.8.src.tar.gz
Download Patches: http://svn.cross-lfs.org/svn/repos/patches/lilo/lilo-22.8-gcc-4.patch

Introduction to Lilo

The Lilo package contains the Linux Loader, a bootloader.

Project Homepage: unknown

Dependencies

Required

Optional

Non-Multilib

To be done

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Apply the patch:

patch -Np1 -i ../lilo-22.8-gcc-4.patch

Build the package:

make all

Install the package:

make install

N32

To be done

64Bit

Apply the patch:

patch -Np1 -i ../lilo-22.8-gcc-4.patch

Build the package:

make all

Install the package:

make install

Contents

Installed Programs: /sbin/lilo, /sbin/mkrescue, /usr/sbin/keytab-lilo.pl, /boot/diag1.img
Installed Libraries: none
Installed Directories: none

Configuring

Configuration strongly depends on individual setups. Please refer to the man-pages on how to apply the mandatory configuration file /etc/lilo.conf appropriately. The following is an example configuration file for a system with these characteristics:

  • two SCSI harddisks
  • system on sdb
  • root filesystem on sdb3
  • bootloader in MBR of first disk (sda)
  • two bootable kernel images
  • menu for bootloader
# Begin /etc/lilo.conf

boot=/dev/sda

lba32
install = menu
menu-scheme=Gb:Gk:Gb:Yb
menu-title="  My Bootmenu  "
read-only
vga = normal
prompt
timeout=30

image = /boot/smp64-2.6.23.13-25.06.2008
  root = /dev/sdb3
  label = SMP64-25.06.08

image = /boot/smp64-2.6.23.13-14.04.2008
  root = /dev/sdb3
  label = SMP64-14.04.08

# End /etc/lilo.conf

After creation of /etc/lilo.conf you need to run /sbin/lilo once.

Caution.png

Note

Take care of possible error messages or you will leave your system unbootable!

Short Descriptions

lilo Lilo installs the Linux boot loader which is used to start a Linux system.
mkrescue A script to make a bootable floppy or CD image using the default settings from the configuration file.
keytab-lilo.pl A perl script to create a keyboard translation table to allow the bootloader to process keystrokes to match your keyboard layout.
diag1.img A diagnostic disk boot image.
Retrieved from "?title=Lilo&oldid=18558"