---
name: "Boot::Lilo"
section: "3pm"
platform: "linux"
package: "systemconfigurator"
version: "1.20-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/Boot::Lilo"
---

# 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 \<donghwajohnkim@yahoo.com\>

## SEE ALSO

Boot, perl
