Boot::Lilo(3pm)

Boot::Lilo3pm

Lilo bootloader configuration module.

Usage

  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]>

From systemconfigurator 1.20-1 in Debian 3.0 (Woody). Parsed by carta from the page's man source.