|
29.
|
|
|
You will first need to create a preconfiguration file and place it in the location from where you want to use it. Creating the preconfiguration file is covered later in this appendix. Putting it in the correct location is fairly straightforward for network preseeding or if you want to read the file off a floppy or usb-stick. If you want to include the file on a CD or DVD, you will have to remaster the ISO image. How to get the preconfiguration file included in the initrd is outside the scope of this document; please consult the developers' documentation for &d-i;.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:224
|
|
30.
|
|
|
An example preconfiguration file that you can use as basis for your own preconfiguration file is available from &urlset-example-preseed;. This file is based on the configuration fragments included in this appendix.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:235
|
|
31.
|
|
|
Loading the preconfiguration file
|
|
|
Tag: title
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:244
|
|
32.
|
|
|
If you are using initrd preseeding, you only have to make sure a file named <filename>preseed.cfg</filename> is included in the root directory of the initrd. The installer will automatically check if this file is present and load it.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:245
|
|
33.
|
|
|
For the other preseeding methods you need to tell the installer what file to use when you boot it. This is normally done by passing the kernel a boot parameter, either manually at boot time or by editing the bootloader configuration file (e.g. <filename>syslinux.cfg</filename>) and adding the parameter to the end of the append line(s) for the kernel.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:252
|
|
34.
|
|
|
If you do specify the preconfiguration file in the bootloader configuration, you might change the configuration so you don't need to hit enter to boot the installer. For syslinux this means setting the timeout to <literal>1</literal> in <filename>syslinux.cfg</filename>.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:260
|
|
35.
|
|
|
To make sure the installer gets the right preconfiguration file, you can optionally specify a checksum for the file. Currently this needs to be a md5sum, and if specified it must match the preconfiguration file or the installer will refuse to use it.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:267
|
|
36.
|
|
|
Boot parameters to specify:
- if you're netbooting:
preseed/url=http://host/path/to/preseed.cfg
preseed/url/checksum=5da499872becccfeda2c4872f9171c3d
- if you're booting a remastered CD:
preseed/file=/cdrom/preseed.cfg
preseed/file/checksum=5da499872becccfeda2c4872f9171c3d
- if you're installing from USB media (put the preconfiguration file in the
toplevel directory of the USB stick):
preseed/file=/hd-media/preseed.cfg
preseed/file/checksum=5da499872becccfeda2c4872f9171c3d
|
|
|
Tag: screen
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:276
|
|
37.
|
|
|
Note that <filename>preseed/url</filename> can be shortened to just <filename>url</filename> and <filename>preseed/file</filename> to just <filename>file</filename> when they are passed as boot parameters.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:278
|
|
38.
|
|
|
Using boot parameters to preseed questions
|
|
|
Tag: title
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:288
|