Subject: Re: booting amd64 kernel
To: None <>
From: George Georgalis <>
List: netbsd-users
Date: 04/30/2006 13:22:54
On Sun, Apr 30, 2006 at 07:03:17PM +0200, Quentin Garnier wrote:
>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 linked, not stripped
>> ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, 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.

That sounds a bit tricky to switch.

>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

So, for this kick around host, I should probably reinstall with an
amd64 cd/pxe and move on from there. okay.

// George

George Georgalis, systems architect, administrator <IXOYE>< cell:646-331-2027