Subject: Re: booting amd64 kernel
To: None <>
From: Quentin Garnier <>
List: netbsd-users
Date: 04/30/2006 19:03:17
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 30, 2006 at 12:43:42PM -0400, George Georgalis wrote:
> I've got a pair of custom kernels for my host, roxy.
> One is i386 the other is amd64, roxy is an amd64 host.
> When I boot my x86 kernel, all is fine, but with the
> amd64 kernel I get "Inappropriate file type or format"
> at bootstrap. Their types are:
> ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), statically linke=
d, not stripped
> ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically link=
ed, not stripped
> I presume the bootstrap code is blocking since it's
> a different arch?
> How do I fix this so I can boot up the amd64 kernel?

Use bootblocks from NetBSD/amd64.  NetBSD/i386's bootblocks can't boot
64-bits kernel.

Note that booting an amd64 on an i386 userland is STRONGLY discouraged at
the moment.  Except for a very specific configuration, it won't reach

Quentin Garnier - -
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.6 (NetBSD)