Re: Q: Linux rebooting directly into linux.

Eric W. Biederman
2000-11-12T00:19:56Z

Adam Lazur <alazur@progeny.com> writes:

> Eric W. Biederman (ebiederm@xmission.com) said:
> > I have recently developed a patch that allows linux to directly boot
> > into another linux kernel. With the code freeze it appears
> > inappropriate to submit it at this time.
>
> Aside from what looks to be support for SMP, how does this differ from
> the two kernel monte stuff at http://scyld.com/software/monte.html ?

I admit that LOBOS, two kernel monte, and the one by by Werner Almsberg.
Were all related work that I looked at. And I acknowledge
there were some good ideas I pilfered from all of them.

There are a couple of differences.
But the big one is I'm trying to do it right. In particular
this means fixing the problem where the problem is.

Additionally I'm killing backwards compatibility with a lot of short
sited things.

And multiplatform support is in the plan. So long term this should
run on alpha, and x86, and sparc and everything else out there
that linux supports. This means that you can have a multiplatform
boot loader. There will have to be glue code out there to get
started from different firmware on different machines but that is it.

Additionally mine is the only one that has a real chance of booting
a non-linux kernel. Gathering the non probable hardware information
is hard. Currently mine implementation is the only one to not simply
copy the boot parameters page that is give to the linux kernel.

Unlike 2 kernel monte mine deliberately has no reliance upon a BIOS.

There is another major difference as well. kexec is part of work
on the linuxBIOS project. Where the goal is to have a very minimal
firmware before booting into linux. And to use that initial linux
kernel as the firmware hardware drivers. What this means is kexec
is being developed from a point of view that needs it. If you don't
have a BIOS kexec is a must.