Bootloader::Core::GRUB2EFI man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

Bootloader::Core::GRUBUser(Contributed Perl DocumBootloader::Core::GRUB2EFI(3)

NAME
       Bootlader::Core::GRUB2EFI - library for blank configuration

PREFACE
       This package is the GRUB2EFI library of the bootloader configuration

SYNOPSIS
       use Bootloader::Core::GRUB2EFI;

       "$obj_ref = Bootloader::Core::GRUB2EFI->new ();"

       "$files_ref = Bootloader::Core::GRUB2EFI->ListFiles ();"

       "$status = Bootloader::Core::GRUB2EFI->ParseLines (\%files,
       $avoid_reading_device_map);"

       "$files_ref = Bootloader::Core::GRUB2EFI->CreateLines ();"

       "$settings_ref = Bootloader::Core::GRUB2EFI->GetSettings ();"

       "$status = Bootloader::Core::GRUB2EFI->SetSettings (\%settings);"

       "$glob_info = Bootloader::Core::GRUB2EFI->Global2Info (\@glob_lines,
       \@section_names);"

       "$lines_ref = Bootloader::Core::GRUB2EFI->Info2Global (\%section_info,
       \@section_names);"

       "$status = Bootloader::Core::GRUB2EFI->UpdateBootloader ();"

       "$status = Bootloader::Core::GRUB2EFI->InitializeBootloader ();"

DESCRIPTION
	"$obj_ref = Bootloader::Core::GRUB2EFI->new ();"
	 Creates an instance of the Bootloader::Core::GRUB2EFI class.

	"$files_ref = Bootloader::Core::GRUB2EFI->ListFiles ();"
	 Returns the list of the configuration files of the bootloader Returns
	 undef on fail

	"$status = Bootloader::Core::GRUB2EFI->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::GRUB2EFI->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.

	"$glob_info = $Bootloader::Core::GRUB2EFI->Global2Info (\@glob_lines,
       \@section_names);"
	 Gets the general information from the global section of the menu
	 file. This information usually means the default section, graphical
	 menu, timeout etc. As argument it takes a reference to the list of
	 hashes representing lines of the section, returns a reference to a
	 hash containing the important information.

	"$lines_ref = Bootloader::Core::GRUB2EFI->Info2Global (\%section_info,
       \@section_names);"
	 Takes the info about the global options and uses it to construct the
	 list of lines.	 The info about global option also contains the
	 original lines.  As parameter, takes the section info (reference to a
	 hash) and a list of sectino names, returns the lines (a list of
	 hashes).

	"$settings_ref = Bootloader::Core::GRUB2EFI->GetSettings ();"
	 returns the complete settings in a hash. Does not read the settings
	 from the system, but returns internal structures.

	"$status = Bootloader::Core::GRUB2EFI->SetSettings (\%settings);"
	 Stores the settings in the given parameter to the internal
	 structures. Does not touch the system.	 Returns undef on fail,
	 defined nonzero value on success.

	"$status = Bootloader::Core::GRUB2EFI->UpdateBootloader ();"
	 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/elilo').  Returns undef on fail, defined nonzero value on
	 success.

	"$status = Bootloader::Core::GRUB2EFI->InitializeBootloader ();"
	 Initializes the firmware to boot the bootloader.  Returns undef on
	 fail, defined nonzero value otherwise

POD ERRORS
       Hey! The above document had some coding errors, which are explained
       below:

       Around line 42:
	   =over without closing =back

perl v5.18.1			  2013-10-02	 Bootloader::Core::GRUB2EFI(3)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net