Bootloader::Core::NONE(3) User Contributed Perl Documentation Bootloader::Core::NONE(3)NAME
Bootlader::Core::NONE - library for blank configuration
PREFACE
This package is the NONE library of the bootloader configuration
SYNOPSIS
use Bootloader::Core::NONE;
"$obj_ref = Bootloader::Core::NONE->new ();"
"$files_ref = Bootloader::Core::NONE->ListFiles ();"
"$status = Bootloader::Core::NONE->ParseLines (\%files, $avoid_reading_device_map);"
"$files_ref = Bootloader::Core::NONE->CreateLines ();"
"$settings_ref = Bootloader::Core::NONE->GetSettings ();"
"$status = Bootloader::Core::NONE->SetSettings (\%settings);"
"$status = Bootloader::Core::NONE->InitializeBootloader ();"
DESCRIPTION
"$obj_ref = Bootloader::Core::NONE->new ();"
Creates an instance of the Bootloader::Core::NONE class.
"$files_ref = Bootloader::Core::NONE->ListFiles ();"
Returns the list of the configuration files of the bootloader
"$status = Bootloader::Core::NONE->ParseLines (\%files, $avoid_reading_device_map);"
Simulate parsing lines. Do nothing. Return non-zero for success.
"$files_ref = Bootloader::Core::NONE->CreateLines ();"
Simulate creating lines and return empty lines hash structure.
"$settings_ref = Bootloader::Core::NONE->GetSettings ();"
returns the complete settings in a hash. Does not read the settings from the system, but returns internal structures.
"$status = Bootloader::Core::NONE->SetSettings (\%settings);"
Do nothing, as none bootloader cannot change internal settings.
"$status = Bootloader::Core::NONE->InitializeBootloader ();"
Simulate initializing bootloader. Allways success.
perl v5.12.1 2009-06-02 Bootloader::Core::NONE(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)