KIWIBoot Info


Public methods

Private methods


__expandFS

Expand the file system to its maximum size

Defined on line: 6937

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

Called in

__getPartBase

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

Defined on line: 7175

Called in

__getPartDevice

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

Defined on line: 7205

Called in

__getPartID

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

Defined on line: 7152

__initDiskSize

setup initial disk size value

Defined on line: 7032

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

Called in

__updateDiskSize

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

Defined on line: 7066

Called in

DESTROY

Missing

Defined on line: 6894

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

Called in

bindDiskDevice

Missing

Defined on line: 5824

Called in

bindDiskPartitions

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

Defined on line: 5874

Called in

buildMD5Sum

Missing

Defined on line: 3383

Called in

cleanStack

Missing

Defined on line: 3345

Called in

copyBootCode

Missing

Defined on line: 5220

Called in

createBootStructure

Missing

Defined on line: 524

Called in

deleteVolumeGroup

Missing

Defined on line: 6524

Called in

diskOffset

find the offset to the start of the first partition

Defined on line: 6868

Called in

getGeometry

obtain number of sectors from the given disk device and return it

Defined on line: 5905

Called in

getSector

turn the given size in MB to the number of required sectors aligned to the value of getDiskAlignment (default 4MB)

Defined on line: 5968

Called in

getStorageID

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

Defined on line: 6220

getStorageSize

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

Defined on line: 6241

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

Called in

installBootLoader

Missing

Defined on line: 5326

Called in

luksClose

Missing

Defined on line: 6612

Called in

luksResize

Missing

Defined on line: 6564

Called in

makeLabel

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

Defined on line: 6538

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

Called in

quoteLabel

Missing

Defined on line: 6555

Called in

resetGeometry

reset global disk geometry information

Defined on line: 6001

Called in

setDefaultDeviceMap

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

Defined on line: 6263

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

Called in

setLoopDeviceMap

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

Defined on line: 6289

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

Called in

setStoragePartition

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

Defined on line: 6063

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

Called in

setupBootDisk

Missing

Defined on line: 1638

Called in

setupBootFlags

Missing

Defined on line: 3031

Called in

setupBootLoaderConfiguration

Missing

Defined on line: 4057

Called in

setupBootLoaderStages

Missing

Defined on line: 3496

Called in

setupFilesystem

create filesystem according to selected type

Defined on line: 6656

Called in

setupInstallCD

Missing

Defined on line: 596

Called in

setupInstallFlags

Missing

Defined on line: 2881

Called in

setupInstallPXE

Missing

Defined on line: 1457

Called in

setupInstallStick

Missing

Defined on line: 1001

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

Called in

setupSplash

setup kernel based bootsplash

Defined on line: 3225

Called in

setupSplashLink

This function only makes sure the .splash.gz file exists. This is done by creating a link to the original initrd file

Defined on line: 3310

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

updateMD5File

Missing

Defined on line: 3413

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

Called in