Bootloader installation and configuration |
include/bootloader/routines/i386.ycp |
Functions for i386 architecture | |
|
|
This module has an unstable interface. |
Global Functions
Local VariablesLocal Functions |
local
_old_mbr_disk
->
string
The last disk that was checked for the sequence
local
_old_mbr
->
string
Contents of the last read MBR
local
_thinkpad_mbr
->
boolean
Does MBR contain special thinkpadd stuff?
local
_old_thinkpad_disk
->
string
The last disk that was checked for the sequence
local
_keep_mbr
->
boolean
Keep the MBR contents?
local
thinkpad_seq
->
string
Sequence specific for IBM ThinkPad laptops, see bug 86762
local
GetMBRContents (string disk)
->
string
Get the contents of the MBR of a disk
- Parameters:
-
disk string the disk to be checked
- Return value:
-
strign the contents of the MBR of the disk in hexa form
global
ThinkPadMBR (string disk)
->
boolean
Does MBR of the disk contain special IBM ThinkPad stuff?
- Parameters:
-
disk string the disk to be checked
- Return value:
-
true if it is MBR
global
KeepMBR (string disk)
->
boolean
Keep the MBR contents on the specified disk? Check whether the contents should be kept because ot contains vendor-specific data
- Parameters:
-
disk string the disk to be checked
- Return value:
-
true to keep the contents
global
AddFirmwareToBootloader (string disk)
->
boolean
Add the partition holding firmware to bootloader?
- Parameters:
-
disk string the disk to be checked
- Return value:
-
true if firmware partition is to be added
global
i386Summary ()
->
list<string>
Display bootloader summary
- Return value:
-
a list of summary lines
global
i386LocationProposal ()
->
void
Propose the boot loader location for i386 (and similar) platform
global
PostUpdateMBR ()
->
boolean
Do updates of MBR after the bootloader is installed
- Return value:
-
true on success