Ronald G Minnich <[EMAIL PROTECTED]> writes:
> On 20 Jun 2001, Eric W. Biederman wrote:
>
> > Ron what I would do is start with my network boot client, as a
> > starting point for small code. I can use my own extremly minimal
> > libc or uclibc. Using uclibc is where I want to go long term.
>
> I am trying your nbc stuff and it is amazing. 16KB ramdisk for the whole
> works. Hard to beat!
Hey you finally noticed :)
>
> Anyway I think we can go this route: boot linux, user types in an option,
> kernel then puts the ramdisk in memory and boots /sbin/nbc from it, then
> we boot arbitrary kernels from disk or net.
>
> Right now the 'type in an option' is a 5-second delay (based on jiffies)
> that calls do_poll() to see if a CR was typed (that's all you can really
> poll for in cooked mode). If so it reads a line. If I type
> root=/dev/hda5
>
> it boots to my /usr and runs your nbc code.
Hmm. I guess that works. I think you could even move the interaction
into nbc.
> Eric the beauty of your approach is I can test all this stuff after
> booting, since it's a user program! I love it!
>
> what's the latest kernel that kexec works on? I forget ...
2.4.2 They changed the memory management after that.
It is about a fine line change. I just haven't had a chance to test it.
> Thanks
Welcome.
Eric