man bootcd2disk.conf (Formats) - configuration file for bootcd2disk

NAME

bootcd2disk.conf - configuration file for bootcd2disk

DESCRIPTION

The file bootcd2disk.conf contains configuration option for the bootcd2disk(1) program of the same named package. The file must be located in the configuration directory which is usually /etc/bootcd.

Blank lines are ignored and lines with leading # are comments. Values have to be set with name=value

You can use a wildcard named DISK<number> to specify partitions instead of e.g. /dev/hda<number>. DISK was replaced by $DISK, which can be set by the same named parameter.

FORMAT

ERRLOG=<path>
Write all errors to this file. Required.
DISK=<device|auto>
Specify the disk you want to use for the installation, e.g. /dev/hda for the first IDE drive in the system. If you use "auto", bootcd2disk automatically try to use the first harddisk in the system. Required.
SFDISK=<partitions in sfdisk syntax|auto>


Configuration options for sfdisk, which creates the partitions for us. If you use "auto", we create default partitions "/", "/boot" and a swap partition. Required.
VFAT=<partitions separated by spaces>


Configure vfat partitions there, if you need some. Optional.
EXT2FS=<partitions separated by spaces|auto>


Specify the partitions with ext2 or ext3 (see next parameter) here. This partitions would be created and formated. If you use "auto", the "/" and the "/boot" partition would be created. Required.
EXT3FS=<yes|no>


Enter "yes" If you want ext3 partitions. If you use "auto", the systems use ext3 partition, if the kernel supports it. Required.
SWAP=<partitions separated by spaces|auto>


The partitions configured there are created as swap. If you use "auto", one swap partition is been created. Required.
MOUNT=<mount <partition> <mountpoint>; ... |auto>


Insert here the mount commandline to mount your partitions or use "auto". Required.
UMOUNT=<umount <mountpoint>; ... |auto>


Insert here the mount commandline to umount your partitions or use "auto". Required.
FSTAB=<entries for the systems fstab |auto>


Configure here all partitions you need to mount after target systems startup in the fstab syntax or use "auto". Required.
LILO=<entries for the systems lilo.conf |auto>


This variable includes the complete configuration file for the lilo bootloader on the target system. Use "auto" for automaticaly generated file. Only required, if you want LILO. Make sure GRUB is not defined as empty.
GRUB=<entries for the systems grub/menu.lst |auto>


This variable includes the complete configuration file for the grub bootloader on the target system. Use "auto" for automaticaly generated file. Only required, if you want GRUB.
ELILO=<entries for the systems elilo.conf |auto>


Same as LILO but for the elilo bootloader on ia64 systems. Use "auto" for automaticaly generated file. Only required, if you want ELILO.
SSHOSTKEY=<yes|no>


If you are using ssh it is helpfull to have a unique ssh hostkey for each system installed with bootcd2disk. This will be generated if this option is set to "yes". Required.
function after_copy() {
return }

If you want some action after copying the system to the target disk, like remount or other thinks, you can write this action to the body of this function. Optional.

FILES

/etc/bootcd/bootcd2disk.conf
Configuration for bootcd2disk.

SEE ALSO

AUTHOR

This manual page was written by Carsten Dinkelmann <carsten.dinkelmann@foobar-cpa.de>, for the Debian GNU/Linux system (but may be used by others).