Bug 20212

Summary: "aout" kernel in version 4.0 / Netboot programs for "elf" kernels
Product: Base System Reporter: eduardo.viruena <eduardo.viruena>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description eduardo.viruena 2000-07-27 11:20:02 UTC
Netboot programs only work with "aout" kernels,
and it is not possible create an "aout" kernel in version 4.0.
A kernel in this format is necessary for diskless boot process.

In previous versions of FreeBSD, the line:

	makeoptions KERNFORMAT=aout 

could be included in the kernel configuation, but now this option
is meaningless for FreeBSD4.0

Fix: 

Somebody has to create a "netboot" program that handles 
"elf" kernels.
How-To-Repeat: Follow the steps for creating a diskless system.
[
you can find the tutorial for doing this in:
http://people.FreeBSD.org/~fsmp/HomeAuto/diskless/net_dl23.html
]

Try to load the kernel with any of the netboot programs,
and you will get the following error message:

		Loading /kernel...
		Bad executable format!
Comment 1 jedgar 2000-07-27 11:33:17 UTC
On Thu, 27 Jul 2000 eduardo.viruena@esfm.ipn.mx wrote:

> Somebody has to create a "netboot" program that handles 
> "elf" kernels.
> 

jedgar@earth:/usr/ports$ make search key=boot

Port:   etherboot-4.6.1
Path:   /usr/ports/net/etherboot
Info:   Netboot FreeBSD a.out/ELF kernels
Maint:  ambrisko@whistle.com
Index:  net
B-deps: gettext-0.10.35 gmake-3.79.1 nasm-0.98
R-deps:

...

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org
Comment 2 Chris D.Faulhaber freebsd_committer freebsd_triage 2000-07-27 17:47:48 UTC
State Changed
From-To: open->closed

Submitter appears to be happy with using the etherboot port.