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

H. Peter Anvin
2002-02-03T23:01:52Z

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