Ronald G Minnich <[EMAIL PROTECTED]> writes:
> On 21 Jun 2001, Eric W. Biederman wrote:
>
> > O.k. But occasionally you want to use the kernel in flash as your
> > primary kernel? Is that what I'm hearing.
>
> the common case is that we always use the kernel in flash. It's the
> non-common case that is such a huge paing.
O.k. This explains the disconnect. Except for test setups, my common
case is to boot a second kernel from the one in flash.
I hate to encourage using the kernel in flash as your primary kernel
as that encourages reflashing it. Unless you have a good fallback
booter reflashing the kernel in flash is dangerous.
> > If that is the case it should be rather simple to have
> > a line or two of code that mounts your default filesystems,
> > calls pivot root, unmounts the ramdisk, and execs /sbin/init.
>
> That's a neat idea. I think I'm missing something now, cause I still don't
> see the exec of the different kernel in there. Also, what about booting
> floppy?
For your common case of continuing to use the kernel in flash all
nbc needs to do is to exec /sbin/init.
So nbc would put up the question: ``Alternative boot?'' instead of the
kernel.
Moving this whole policy thing to user space maintenance becomes just
a tad easier.
Eric