Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bootloader::core::lilo(3) [suse man page]

Bootloader::Core::LILO(3)				User Contributed Perl Documentation				 Bootloader::Core::LILO(3)

NAME
Bootloader::Core::LILO - LILO library for bootloader configuration PREFACE
This package is the LILO library of the bootloader configuration SYNOPSIS
use Bootloader::Core::LILO; "$obj_ref = Bootloader::Core::LILO->new ();" "$files_ref = Bootloader::Core::LILO->ListFiles ();" "$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);" "$files_ref = Bootloader::Core::LILO->CreateLines ();" "$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);" "$status = Bootloader::Core::LILO->InitializeBootloader ();" DESCRIPTION
"$obj_ref = Bootloader::Core::LILO->new ();" Creates an instance of the Bootloader::Core::LILO class. "$files_ref = Bootloader::Core::LILO->ListFiles ();" Returns the list of the configuration files of the bootloader Returns undef on fail "$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);" Parses the contents of all files and stores the settings in the internal structures. As first argument, it takes a hash reference, where keys are file names and values are references to lists, each member is one line of the file. As second argument, it takes a boolean flag that, if set to a true value, causes it to skip updating the internal device_map information. Returns undef on fail, defined nonzero value on success. "$files_ref = Bootloader::Core::LILO->CreateLines ();" creates contents of all files from the internal structures. Returns a hash reference in the same format as argument of ParseLines on success, or undef on fail. "$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);" Updates the settings in the system. Backs original configuration files up and replaces them with the ones with the '.new' suffix. Also performs operations needed to make the change effect (run '/sbin/lilo'). Returns undef on fail, defined nonzero value on success. "$status = Bootloader::Core::LILO->InitializeBootloader ();" Initializes the firmware to boot the bootloader. Returns undef on fail, defined nonzero value otherwise perl v5.12.1 2009-08-03 Bootloader::Core::LILO(3)

Check Out this Related Man Page

UPDATE-BOOTLOADER(1)                                    User Contributed Perl Documentation                                   UPDATE-BOOTLOADER(1)

NAME
update-bootloader - update/change bootloader configuration using Bootloader::Tools perl module SYNOPSIS
update-bootloader [operation] [options] operation is one of --add, --remove or --refresh. valid options are --help, --man, --image <file>, --initrd <file>, --xen-kernel <file>, --xen, --default, --previous, --name <string>, --force, --force-default. DESCRIPTION
update-bootloader will let you modify your bootloader configuration using Bootloader::Tools perl module. OPERATIONS
--add add an new image section. Needs a call to --refresh to take effect. --remove remove the specified image section. Needs a call to --refresh to take effect. --refresh activate the new config e.g. write boot loader to disk PARAMETER
--help Print a brief help message and exits. --man Prints the manual page and exits. --image file specify path to kernel image --initrd file specify path to initrd file --xen specify that you what to add a xen and not a regular image section --xen-kernel file specify that you what to add a xen section with a specific image. Implies --xen option. --default let the new section to be added be the default section if appropriate. Only allowed together with --add operation --previous set some usuable defaults for image, initrd and name when --name string specify the name of the section to be added/removed --force dont complain, just do the right thing --force-default force the new section to be added to be the default section. Only allowed together with --add operation perl v5.12.1 2010-04-22 UPDATE-BOOTLOADER(1)
Man Page