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

From: H. Peter Anvin (hpa@zytor.com)
Date: Sun Feb 03 2002 - 18:01:12 EST


Rob Landley wrote:

>
> You can pivot_root after the bios hands control over to the kernel, sure.
> But if the bios can actually boot from arbitrary blocks on the CD before the
> kernel takes over, this is news to me. And for the kernel to read from the
> CD, it needs its drivers already loaded for it, so they have to be in that
> 2.88 megs somewhere. (Statically linked, ramdisk, etc.)
>

No, the boot specification allows direct access to the CD. See the El
Torito specification, specifically the parts that talk about "no
emulation" mode.

> I was just pointing out that small boot environments weren't going away any
> time soon, even if floppy drivers were to finally manage it. When you
> install your system, the initial image you bootstrap from is generally tiny.
>
> Now I'm not so familiar with that etherboot stuff, intel's whatsis
> specification (PXE?) for sucking a bootable image through the network. All
> I've ever seen that boot is a floppy image, but I don't know if that's a
> limitation in the spec or just the way people are using it...

That's just the way *some* people are using it. Look at PXELINUX for
something that doesn't. PXELINUX can use the UDP API provided by the
PXE specification to download arbitrary files, specified at runtime, via
TFTP.

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:30 EST