Re: [RFC] x86 ELF bootable kernels/Linux booting Linux/LinuxBIOS

H. Peter Anvin
2002-02-02T21:07:13Z

Eric W. Biederman wrote:

>
> If you are correct, then there a fundamental design problem with my
> Linux Booting Linux code. Because that is exactly what I do. I stuff
> the kernel in memory and jump to it. Once the new kernel starts there is
> no back and forth. _Please_ help me understand why this back and
> forth is needed.
>
> Here is my experience. Non-interactive etherboot, doesn't know what
> it is booting, or where it is booting from until the DHCP server tells
> it. Then it gets a file from a TFTP server and boots that.
>

This is one subcase, but one of many.

>
> When booting the Linux kernel it never attempts to do a back and forth
> via the firmware to the boot medium. Instead someone has a clue about
> what the boot medium was and it mounts that medium using it's own
> drivers. Booting a rescue cd is a good example.
>
> _Please_ help me find the flaw in my understanding.
>

The flaw in your understanding comes in when you want to run maintenance
on a system, reinstall it, install a system for which you don't have
drivers, etc. Otherwise you're basically requiring the memory on the
target system to contain every driver that could possibly exist, not
just today but in the future.

-hpa