As a follow up to this question, I am trying to fully automate the Debian (squeeze) installation procedure. I have so far managed to mount an ISO image of the main Debian DVD and serve it over FTP to the client. The thing is, the client freezes while trying to detect hard drives. After a certain timeout interval, it presents me with a (blank) list of the partitions it detected and gives me the choice to either edit the partitions or continue. Both choices of course fail since no partitions are ever detected.
To try and debug, I booted the host from the Debian DVD itself and opted for an Expert Install with low debconf priority. One of the steps done during that install seems to be the magical one: it's called "Download Installation components from CD". This seems to retrieve many more modules than my preseeded attempt does, eventually leading to a successful disk detection. In particular, it seems that this step scans the "pool" directory of the Debian mirror that's on the DVD, which the preseeding does not.
I have already tried walking through the whole installation manually and retrieving the d-i
selections with
debconf-get-selections --installer > installer_sels.txt
but nothing I found there was particularly helpful.
The messages in VT 4 (/var/log/syslog
) are not much help either because in both cases (the actual DVD and the FTP ISO mount) the messages and complaints about missing modules are the same.
What am I missing here? Is there something I can add to the preseeding file to let it load additional modules from the DVD? Any advice from someone who's tried this before?
Relevant lines from my preseeding file:
d-i mirror/protocol string ftp
d-i mirror/ftp/hostname <FTP server IP>
d-i mirror/ftp/directory /<FTP dir>/debian
EDIT: Additional Details
- I followed this HowTo
-
I'm serving the Debian squeeze DVD over FTP. I did the following to make an ISO image of it:
dd if=/dev/cdrom of=/path/to/debian_amd64.iso
- I'm booting from the amd64 netboot/netboot.tar.gz image.
- My boot parameters are
... linux26
append ... auto=true priority=critical preseed/url=ftp://path to preseed
I added the linux26
deliberately to overcome the old kernel issue based on an answer I read somewhere else (can't remember where at the moment).
Best Answer
Silly me, the answer was right there in the Debian forums if I knew where to look. It was as you guessed, Guardian, to do with the initrd. The thing is, the DVD image initrd contains more modules than the netboot one. The pertinent ones here being SATA drivers. So I followed the advice in the 9th post in that thread and it worked like a charm.
I'm quoting the solution here in its entirety in case the link goes dead: