YaST2 Developers Documentation: YaST Repair bootloader module.

YaST Repair bootloader module.

osr_module_bootloader.ycp
YaST Repair. Automatic error detection & repair tool for Linux.

This module has an unstable interface.

Imports

  • Bootloader
  • Label
  • Mode
  • OSR
  • OSRBoot
  • OSRCommon
  • OSRDirect
  • OSRFsck
  • OSRFstab
  • OSRStatus
  • OSRSummary
  • OSRSystem
  • Popup
  • Stage
  • Storage

Local Functions

local OSRBootloaderSysconfigFiles () -> boolean

Check the base boot loader and kernel configuration files

local OSRBootloaderType () -> boolean

Find the type of the boot loader e.g.: lilo, grub

local OSRBootloaderBootRoot () -> boolean

Find the root and boot partition.

local OSRBootloaderPackagesInstalled () -> boolean

Check if all needed boot loader packages are installed.

local OSRBootloaderPackagesVerified () -> boolean

Verifying installed boot loader packages

local OSRBootloaderPackagesVersion () -> boolean

Check the boot loader version.

local OSRBootloaderConfExists () -> boolean

Checks if the boot loader configuration file exists at the standard location

local OSRBootloaderCheckConf () -> boolean

Check boot loader conf file, e.g. /etc/lilo.conf or ( /etc/grub.conf && /boot/grub/menu.lst )

local OSRBootloaderAskUser () -> boolean

local OSRBootloaderReset () -> boolean

Reset boot loader temporary settings.

local OSRBootloaderInit () -> map

Initialization of the module map that contains all important information for this module.

Return value:
The map that contains all information about the module osr_module_init.