[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#621769: debian-installer: fails to load preseed file from local media



On ven., 2011-04-08 at 13:27 -0400, Joey Hess wrote:
> Yves-Alexis Perez wrote:
> > I'm using the netboot files (so linux kernel and initrd.gz). I've tried
> > various setups:
> > 
> > preseed/file=/hd-media/foo.cfg
> > preseed/file=file:///hd-media/foo.cfg
> > 
> > Looking at the content of the initrd it seems that there is nothing
> > mounting the media nor anything done to handle preseed/file. I've found
> > stuff for handling preseed/url but nothing for the file scheme.
> 
> /hd-media is mounted by iso-scan. That will work fine if you're
> installing from a hd<F11>-media image. Otherwise it won't, and you'll
> have to put the file somewhere else.
> 
> d-i does not have one initrd, it has initrds customized for different
> media types. The file-preseed udeb that handles preseed/file is only
> present on the hd-media, cdrom, and monolithic initrds.
> 

Damn. So I guess I'll have to fall back to the network preseed or
rebuild the initrd (the whole point was to embed the preseed file on the
usb drive but keep a generic initrd.gz so I could chose the kind of
install (standard, preseed1/2/..) depending on the boot options.
hd-media won't work since, afair, it can't use a network mirror but will
only rely on local mirror.

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: