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

Re: And now for something completely different... etch!

On 2005-06-12, Goswin von Brederlow
<brederlo@informatik.uni-tuebingen.de> wrote:
> The best way to make multi floppy boot work would be to use initramfs
> with a static C binary linked against klibc that does the prompting
> and loading of the 2nd/3rd/... floppy. That way you can save as much
> space as possible for kernel and modules (or similar with initrd for
> 2.4.x).

I don't know anything about klibc, but I would like to add that you
don't necessarily need to link against any libc in order to prompt
and load more as long as you only use kernel syscalls. One good example
of this are the initrd's created by loop-aes's build-initrd.sh which
only use syscalls to mount another partition; it then uses a trick to
mount this second partition as /lib so you can have there a full glibc
and any other libraries, binaries and/or modules. This gives you a nice
2KiB initrd.

(Recent versions of build-initrd.sh link against dietlibc, but don't
initialize it, the reason for this is to allow parameter passing to
init, but it still delivers a nice small 2-3KiB initrd)

Greetings from Oostende (BE) -*- Danny Cautaert (DaCa) 
Write me in Dutch, French or English * GnuPG preferred
Meet me at LinuxTag * 22-25 June 2005 * Karlsruhe (DE)
.... or at DebConf 5 * 10-17 July 2005 * Helsinki (FI)

Reply to: