Subject: Re: Using Etherboot ELF/FreeBSD loader to netboot ELF/NetBSD
To: Jaromir Dolecek <>
From: Wojciech Puchar <>
List: tech-kern
Date: 02/28/2003 13:58:31
> > 4) i just doesn't need any extra level or loaders!!!!
> AFAIK etherboot has to be compiled for every network card too.
> IIRC grub actually uses etherboot code for netboot.
> Anyway, best is to get PXE boot ROM and use NetBSD pxeboot :)

i'm asking again:

how can i detect that ELF Image is NetBSD and not FreeBSD other way than
checking memory for "NetBSD foundation" string?

i already patched etherboot to work this way so it loads now NetBSD kernel
cleanly and passes memory sizes right (right bootinfo will be done too),
but this way of detection is just stupid.