Differences between revisions 29 and 30
Revision 29 as of 2005-01-25 13:29:44
Size: 2665
Editor: anonymous
Revision 30 as of 2005-01-25 13:30:25
Size: 2673
Editor: anonymous
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
== Howto build an netboot-initrd == === Howto build an netboot-initrd ===
Line 30: Line 30:
*checkout debian-installer
*add '#include "network-console"' in installer/build/pkg-lists/netboot/$arch.cfg
*add EXTRAFILES=/preseed.cfg in installer/build/config/local
 * checkout debian-installer
 * add '#include "network-console"' in installer/build/pkg-lists/netboot/$arch.cfg
 * add EXTRAFILES=/preseed.cfg in installer/build/config/local

Preseeding d-i

Most of the questions asked by DebianInstaller can be preseeded by setting the answers in the debconf database. This can be used to do automatic installs. This page gathers our collective knowledge on the topic, so please add any tips you have.

There are currently two main mechanisms to preseed debconf values. Values can be set on the installer's boot line, for example this is useful for testing the unstable version of the installer in a netboot install:

  linux mirror/suite=unstable

The preseed udebs can be used to load a file containing values to preseed, either from the network or local media. The installation manual explains how to set this up: http://d-i.alioth.debian.org/manual/en.i386/ch04s07.html#automatic-install and includes a complete example. Note that you can check preseed-files for errors with "debconf-set-selections -c $file".

Also note that most preseeding support has been added after rc1 of the installer.


Post here any links you have to example preseed files. Note that using any of these files directly is not wise, as a malicious person could probably come up with values for a preseed file that makes d-i misbehave. Also, the files are downloaded over http, so are vulnerable to man in the middle spoof attacks. The best way to use any preseed file is to copy it to your own local web server or media, and look it over before using it.

Using network-console and preseeding

  • Because of #288053 it is not possible to load a preseed file via http (preseed/url) at the moment, which enables the network-console.udeb.
  • There are no reported problems using preseed files from cdrom (note: you have to create your own iso images) or from usbsticks - both with preseed/file.
  • AFAIK nobody has ever done preseeding with preseed/floppy. If you did/do, please submit a bugreport.

Howto build an netboot-initrd

(untested, unfinished, work-in-progress, will be finished+polished soon)

  • checkout debian-installer
  • add '#include "network-console"' in installer/build/pkg-lists/netboot/$arch.cfg
  • add EXTRAFILES=/preseed.cfg in installer/build/config/local