KIWIBoot Info


Public methods

Private methods


__expandFS

Expand the file system to its maximum size

Defined on line: 7293

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: 7241

Called in

__getPartBase

find the correct partition device for a given disk device by checking for the first two partitions

Defined on line: 7531

Called in

__getPartDevice

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

Defined on line: 7561

Called in

__getPartID

try to find the partition number which references the provided flag like "boot" or "lvm"

Defined on line: 7508

__initDiskSize

setup initial disk size value

Defined on line: 7388

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: 7445

Called in

__updateDiskSize

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

Defined on line: 7422

Called in

DESTROY

Missing

Defined on line: 7226

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: 7111

Called in

bindDiskDevice

Missing

Defined on line: 6023

Called in

bindDiskPartitions

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

Defined on line: 6076

Called in

cleanStack

Missing

Defined on line: 3324

Called in

copyBootCode

Missing

Defined on line: 5265

Called in

createBootStructure

Missing

Defined on line: 470

Called in

deleteVolumeGroup

Missing

Defined on line: 6838

Called in

diskOffset

find the offset to the start of the first partition

Defined on line: 7172

Called in

getGeometry

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

Defined on line: 6107

Called in

getSector

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

Defined on line: 6170

Called in

getStorageID

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

Defined on line: 6447

getStorageSize

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

Defined on line: 6468

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: 6219

Called in

installBootLoader

Missing

Defined on line: 5373

Called in

luksClose

Missing

Defined on line: 6926

Called in

luksResize

Missing

Defined on line: 6878

Called in

makeLabel

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

Defined on line: 6852

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: 52

Called in

quoteLabel

Missing

Defined on line: 6869

Called in

resetGeometry

reset global disk geometry information

Defined on line: 6205

Called in

setDefaultDeviceMap

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

Defined on line: 6490

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: 6544

Called in

setLoopDeviceMap

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

Defined on line: 6518

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: 6656

Called in

setStoragePartition

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

Defined on line: 6267

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: 6703

Called in

setupBootDisk

Missing

Defined on line: 1642

Called in

setupBootFlags

Missing

Defined on line: 3083

Called in

setupBootLoaderConfiguration

Missing

Defined on line: 4084

Called in

setupBootLoaderStages

Missing

Defined on line: 3445

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: 6576

Called in

setupFilesystem

create filesystem according to selected type

Defined on line: 6970

Called in

setupInstallCD

Missing

Defined on line: 543

Called in

setupInstallFlags

Missing

Defined on line: 2932

Called in

setupInstallPXE

Missing

Defined on line: 1452

Called in

setupInstallStick

Missing

Defined on line: 950

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: 3218

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: 6938

updateMD5File

Missing

Defined on line: 3362

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: 3399

Called in