YaST2 Developers Documentation: Bootloader installation and configuration

Bootloader installation and configuration

modules/BootSupportCheck.ycp
Check whether the current system setup is a supported configuration
  • Jiri Srain

This module has an unstable interface.

Imports

  • Arch
  • BootCommon
  • Bootloader
  • Storage

Global Functions

Local Variables

Local Functions

local detected_problems -> list<string>

List of problems found during last check

local AddNewProblem (string description) -> void

Add a new problem description to the list of found problems

Parameters:
description
global DetectedProblems () -> list<string>

List detected problems Always run SystemSupported before calling this function

Return value:
a list of problems, empty if no was found
global StringProblems () -> string

Formated string of detected problems Always run SystemSupported before calling this function

Return value:
a list of problems, empty if no was found
local KnownLoader () -> boolean

Check that bootloader is known and supported

local checkElilo () -> boolean

Check if elilo is supported

local CorrectLoaderType () -> boolean

Check that bootloader matches current hardware

local GptPartitionTable () -> boolean

Checks for GPT partition table // FIXME adapt for ELILO if needed

global check_BootDevice () -> boolean

Check if boot partition exist check if not on raid0

Return value:
true on success
local CheckBios_ID () -> boolean

Check if there is bios_id if not show warning

Return value:
true on success
local RootPartition () -> boolean

Check that the root partition is reachable

global GRUB () -> boolean

GRUB-related check

local ELILO () -> boolean

ELILO related check

local ZIPL () -> boolean

ZIPL related check

local PPC () -> boolean

PPC related check

global SystemSupported () -> boolean

Check if the system configuraiton is supported Also sets the founds problems into internal variable Always run this function before calling DetectedProblems()

Return value:
true if supported