Subject: Re: Booter: "Failed to read kernel image header" on custom kernel
To: Reinier Jonker <rjgjonker@xs4all.nl>
From: Frederick Bruckman <fredb@immanent.net>
List: port-mac68k
Date: 03/28/2002 11:25:23
On Thu, 28 Mar 2002, Reinier Jonker wrote:

> > Another thing that goes wrong is that the Booter sometimes fails to grok
> > the subtleties of the file-system. How did you install the kernel?
>
> As described in the kernel FAQ:
> cp /netbsd /netbsd.old
> mv netbsd /

Is the kernel build directory on the same partition as root? If so,
"mv" doesn't really move the file from the high numbered cylinders;
it just updates the root directory with the location of where it is
already, which triggers the known bug in the Booter.

Try "install" instead. For now, try

	ln netbsd netbsd.foo
	install -r netbsd.foo /netbsd

and then try to boot from "netbsd".

Frederick