KIWIBoot Info


Public methods

Private methods


DESTROY

Missing

Defined on line: 7382

addBootNext

Write boot program that boots the firsts drive that does _not_ have our mbr id. The boot program source which creates $bootnext below is added in the git repo below tools/bootnext

Defined on line: 7208

Called in

bindDiskDevice

Missing

Defined on line: 6145

Called in

bindDiskPartitions

make sure we can access the partitions of the loop mounted disk file

Defined on line: 6166

Called in

cleanStack

Missing

Defined on line: 3381

Called in

copyBootCode

Missing

Defined on line: 5415

Called in

createBootStructure

Missing

Defined on line: 518

Called in

deleteVolumeGroup

Missing

Defined on line: 6935

Called in

diskCHS

Missing

Defined on line: 7334

Called in

diskOffset

find the offset to the start of the first partition

Defined on line: 7269

Called in

getGeometry

Create a new disk label on the given device and obtain the number of sectors from this disk

Defined on line: 6196

Called in

getSector

turn the given size in MB to the number of required sectors aligned to the value of getDiskAlignment

Defined on line: 6259

Called in

getStorageID

return the partition id of the given partition. If the call fails the function returns 0

Defined on line: 6539

getStorageSize

return the size of the given disk or disk partition in Kb. If the call fails the function returns 0

Defined on line: 6560

Called in

initGeometry

setup start sector and stop sector for the given size at first invocation the start sector is set to the default value from the global space or to the value specified on the commandline. On any subsequent call the start sector is calculated from the end sector of the previos partition and the new value gets aligned to the value of getDiskAlignment The function returns the number of sectors which represents the given size

Defined on line: 6308

Called in

installBootLoader

Missing

Defined on line: 5520

Called in

luksClose

Missing

Defined on line: 7023

Called in

luksResize

Missing

Defined on line: 6975

Called in

makeLabel

grub handles spaces as "_", so we replace each space with an underscore

Defined on line: 6949

Called in

new

Create KIWIBoot object which is used to create bootable media images like CD/DVD's , USB sticks or Virtual disks

Defined on line: 55

Called in

quoteLabel

Missing

Defined on line: 6966

Called in

resetGeometry

reset global disk geometry information

Defined on line: 6294

Called in

setDefaultDeviceMap

set default device map which creates a mapping for device names to a number

Defined on line: 6582

Called in

setLVMDeviceMap

set LVM device map which creates a mapping for /dev/VG/name volume group device names to a number

Defined on line: 6636

Called in

setLoopDeviceMap

set loop device map which creates a mapping for /dev/mapper loop device names to a number

Defined on line: 6610

Called in

setMD

create md device for software raid capabilities The function returns a new device map which has the root device overwritten by the md device

Defined on line: 6746

Called in

setStoragePartition

creates the partition table on the given device according to the command argument list

Defined on line: 6356

Called in

setVolumeGroup

create volume group and required logical volumes. The function returns a new device map including the volume device names

Defined on line: 6793

Called in

setupBootDisk

Missing

Defined on line: 1668

Called in

setupBootFlags

Missing

Defined on line: 3139

Called in

setupBootLoaderConfiguration

Missing

Defined on line: 4207

Called in

setupBootLoaderStages

Missing

Defined on line: 3502

Called in

setupEncoding

create luks device map for encryption capabilities The function returns a new device map which has the root device overwritten by the luks device

Defined on line: 6668

Called in

setupFilesystem

create filesystem according to selected type

Defined on line: 7067

Called in

setupInstallCD

Missing

Defined on line: 591

Called in

setupInstallFlags

Missing

Defined on line: 2988

Called in

setupInstallPXE

Missing

Defined on line: 1480

Called in

setupInstallStick

Missing

Defined on line: 996

Called in

setupPartIDs

create information about device ID for root,boot readonly/readwrite partitions created for this appliance. The information is read by the initrd code to assign the correct partition device

Defined on line: 3274

Called in

umountDevice

umount all mounted filesystems from the given storage device. The functions searches the /proc/mounts table and umounts all corresponding mount entries

Defined on line: 7035

updateMD5File

Missing

Defined on line: 3419

Called in

writeMBRDiskLabel

writes a 4byte random ID into the MBR of the previosly installed boot manager. The function returns the written ID or undef on error

Defined on line: 3456

Called in

__expandFS

Expand the file system to its maximum size

Defined on line: 7449

Called in

__getBootSize

set minimum boot size or the specified value from the XML description. The function returns the size in M-Bytes.

Defined on line: 7397

Called in

__getPartDevice

find the correct partition device according to the disk device and partition number

Defined on line: 7674

Called in

__initDiskSize

setup initial disk size value

Defined on line: 7555

Called in

__updateCustomDiskSize

if a custom disk size is set via the commandline or the element from XML, this function uses the custom value if it is smaller than the currently calculcated disk size value

Defined on line: 7612

Called in

__updateDiskSize

increase the current virtual disk size value by the specified value. value is treated as number in MB

Defined on line: 7589

Called in