Re: How to build a cdrom debian-installer with preseed.cfg
2010/12/23 Ferenc Wagner <wferi@niif.hu>:
> Jose Luis Zabalza <jlz.3008@gmail.com> writes:
>
>> Is there a smart way to build a d-i initrd with pressed.cfg inside?
>> Now I uncompress, copy preseed.cfg and compress again the initrd.gz file.
>> is this the only one way to get a initrd.gz with preseed?
>
> No, but this is the most general way. The other is using multiple
> initrds, if your boot method supports it. The Syslinux family does, you
> can supply multiple files separated by commas. Probably you could also
> emulate this by concatenating initrd images with appropriate padding,
> but I never tried this myself.
>
>> Note: I have not found any clear information about this on Debian
>> GNU/Linux Installation Guide or Internals manual.
>
> The principle is there: you have to get a file called preseed.cfg into
> the root directory. You choose the way...
Thanks for your answer. I was thinking, for example, building d-i, "if
preseed.cfg exist on <whateveryouwant> directory, it will be copied on
root directory of initrd image"
Thanks any way.
--
José Luis Zabalza
jlz.3008 a t gmail.com
Linux Counter 172551
Reply to: