How to get HTTP preseed to work correctly on Ubuntu 10.04 LTS (Lucid)?
Ok... I've found the answer with experiments.
Use the server or alternate ISO instead of the desktop ISO! Preseed does not work with the desktop ISO. Use the
linux-generic
kernel and taskselubuntu-desktop
to get a desktop installation.The
auto
boot parameter does not work (at least for i386). Useauto=true priority=critical
instead.In contrast to the official documentation, which states that "if the URL is missing a protocol, http is assumed",
http://
is required or the installer will not be able to fetch the preseed file.If you have multiple network cards, add
interface=auto
or the installer will ask you which interface to use.
Therefore, the minimum boot parameters needed are
auto=true priority=critical url=http://mydomain.com/path/preseed initrd=/install/initrd.gz
If I have time, I'll definitely post a documentation-improvement request to launchpad.
The following default file worked for me
kernel linux
append auto=true priority=critical preseed/locale=en_US kbd-chooser/method=us preseed/url=http://192.168.13.184/preseed-files/preseed.cfg ramdisk_size=14984 root=/dev/rd/0 initrd=initrd.gz
If you do not give the locale and kbd-chooser the auto installation will not work and you will be presented with the screens for answering