1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
|
.IX Title "boocd2disk"
.TH BOOTCD2DISK.CONF 5 "2007-04-04" "bootcd2disk.conf" "bootcd utils"
.SH NAME
bootcd2disk.conf \- configuration file for bootcd2disk
.SH DESCRIPTION
The file
.B bootcd2disk.conf
contains configuration option for the
.B 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
.B name=value
You can use a wildcard named
.B 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.
.SH FORMAT
.TP
.B ERRLOG=<path>
Write all errors to this file. Required.
.TP
.B 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",
.I bootcd2disk
automatically try to use the first hard disk in the system. Required.
.TP
.B SFDISK=<partitions in sfdisk syntax|auto>
.br
Configuration options for sfdisk, which creates the partitions for
us. If you use "auto", we create default partitions "/", "/boot" and a
swap partition. Required.
.TP
.B VFAT=<partitions separated by spaces>
.br
Configure vfat partitions there, if you need some. Optional.
.TP
.B EXT2FS=<partitions separated by spaces|auto>
.br
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.
.TP
.B EXT3FS=<yes|no>
.br
Enter "yes" If you want ext3 partitions. If you use "auto", the
systems use ext3 partition, if the kernel supports it. Required.
.TP
.B SWAP=<partitions separated by spaces|auto>
.br
The partitions configured there are created as swap. If you use
"auto", one swap partition is been created. Required.
.TP
.B MOUNT=<mount <partition> <mountpoint>; ... |auto>
.br
Insert here the mount command line to mount your partitions or use
"auto". Required.
.TP
.B UMOUNT=<umount <mountpoint>; ... |auto>
.br
Insert here the mount command line to umount your partitions or use
"auto". Required.
.TP
.B FSTAB=<entries for the systems fstab |auto>
.br
Configure here all partitions you need to mount after target systems
startup in the fstab syntax or use "auto". Required.
.TP
.B LILO=<entries for the systems lilo.conf |auto>
.br
This variable includes the complete configuration file for the lilo
bootloader on the target system. Use "auto" for automatically
generated file. Only required, if you want LILO. Make sure GRUB is
not defined as empty.
.TP
.B GRUB=<entries for the systems grub/menu.lst |auto>
.br
This variable includes the complete configuration file for the grub
bootloader on the target system. Use "auto" for automatically
generated file. Only required, if you want GRUB.
.TP
.B GRUBBOOTDIR=<number of partition which contains grub-dir | 0>
.br
This variable defines the partition where the grub bootloader
information is stored. You want to use this if you have defined your
own partition layout and the grub information is not on the first
partition. Remember that grub starts counting partitions at 0. So
if you decided that /boot is on partition /dev/sda2 you need to
set the parameter to 1.
.TP
.B ELILO=<entries for the systems elilo.conf |auto>
.br
Same as LILO but for the elilo bootloader on ia64 systems.
Use "auto" for automatically generated file. Only required, if you want
ELILO.
.TP
.B SSHOSTKEY=<yes|no>
.br
If you are using ssh it is helpful to have a unique ssh hostkey for
each system installed with bootcd2disk. This will be generated if this
option is set to "yes". Required.
.TP
.B UDEV_FIXNET=<yes|no>
.br
If you are using the udev filesystem and want to install the image on other
machines, you need to set this to "yes" because the network interfaces are
hardwired in /etc/udev/rules.d/z25_persistent-net.rules and we must remove
them. Required.
.TP
.B USEIMAGESERVER=<yes|no>
.br
If \fBbootcd2disk\fR is slow on your system (because of a slow CD/DVD drive or
the HP ILO virtual CD interface), you can use a image server to get the
bootcdimage from.
.br
\fBbootcd2disk\fR use the swap partition of your upcoming system as temporary
space and copy the image from the configured image server to this partition and use it as image. May be overwritten from command line "-url". Need the following parameter "IMAGEURL". Required.
.TP
.B IMAGEURL=<url>
.br
This option configures the image server for \fBUSEIMAGESERVER="yes"\fR. The <url> is used with \fBwget\fR, all url syntax from \fBwget\fR are possible. Please use a ip because of failed DNS and you need also the configured ip interface. May be overwritten from command line (-url). Required.
.br
.RS 8
.IP "\fBexample:\fR" 4
IMAGEPURL="https://192.168.1.1:81/cdimage.iso"
.PP
.RE
.TP
.B function before_copy() {
.br
.B return
.br
.B }
.br
If you want some action before copying the system to the target disk,
like remount or other thinks, you can write this action to the body of
this function. Optional.
.TP
.B function after_copy() {
.br
.B return
.br
.B }
.br
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.
.SH "SEE ALSO"
.br
bootcd2disk(1), bootcd(1), bootcdflopcp(1), bootcdwrite(1)
.SH AUTHOR
This manual page was written by Carsten Dinkelmann <\ficarsten.dinkelmann@foobar-cpa.de\fR>, for the Debian GNU/Linux system (but may be used by others).
|