Reference

Boot::Lilo(3pm)

Lilo bootloader configuration module.

NAME

Boot::Lilo - Lilo bootloader configuration module.

SYNOPSIS

  my $bootloader = new Boot::Lilo(%bootvars);

  if($bootloader->footprint_loader()) {
      $bootloader->install_config();
  }

  if($bootloader->footprint_config() && $bootloader->footprint_loader()) {
      $boot->install_loader();
  }

  my @fileschanged = $bootloader->files();

METHODS

The following methods exist in this module:

files()

The files() method is merely an accessor method for the all files touched by the instance during its run.

footprint_config()

This method returns "TRUE" if the Lilo configuration file (i.e. "/etc/lilo.conf") exists.

footprint_loader()

This method returns "TRUE" if the Lilo executable exists.

install_config()

This method reads the System Configurator config file and creates lilo.conf file.

setup_kernel()

An "internal" method. This method sets up a kernel image as specified in the config file.

install_loader()

This method invokes the Lilo executable. Lilo writes the boot image onto the device specified as the boot partition.

AUTHOR

Donghwa John Kim <[email protected]>

SEE ALSO

Boot, perl