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

# Boot::YaBoot(3pm)

YaBoot bootloader configuration module.

## NAME

Boot::YaBoot - YaBoot bootloader configuration module.

## SYNOPSIS

```
  my $bootloader = new Boot::YaBoot(%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\_loader()*

  This method returns "TRUE" if executable YaBoot bootloader is installed.

- *footprint\_config()*

  This method returns "TRUE" if YaBoot config file, i.e. "/etc/yaboot.conf", exists.

- *install\_config()*

  This method reads the System Configurator's config file and creates YaBoot's  config file, i.e. "/etc/yaboot.conf".

- *setup\_kernel()*

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

- *install\_loader()*

  If BOOTDEV is specified, this method writes the Yaboot image onto all PREP partitions found on that  drive, otherwise Yaboot image will be written to all PREP partitions found on all drives.

## AUTHOR

```
  Donghwa John Kim <donghwajohnkim@yahoo.com>
```

## SEE ALSO

SystemConifg::Boot, perl
