Subject: Re: "upgrading" NetBSD/i386 to NetBSD/amd64 ?
To: Geert Hendrickx <>
From: Jeff Rizzo <>
List: port-amd64
Date: 10/31/2005 07:57:10
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 31, 2005 at 04:46:45PM +0100, Geert Hendrickx wrote:
> I have a Pentium4 EM64T machine currently running NetBSD/i386.  Is it
> possible to "upgrade" it to NetBSD/amd64 using the standard rout=
> i.e. compiling a NetBSD/amd64 distribution, installing an amd64 kernel and
> extracting the amd64 userland over the existing i386 one?  What about
> packages?  I will recompile them all, but will the currently installed i3=
> packages run on the amd64 base system? =20

I'm relatively new to amd64 myself, but here's how I would approach it:

1.  Install an amd64 bootblock first thing - the amd64 bootblock can boot
an i386 kernel, but not vice-versa. Make sure=20

2.  Because of some still outstanding issues with COMPAT_NETBSD32 thus far,
I wouldn't count on being able to run all NetBSD/i386 binaries from a
NetBSD/amd64 kernel.  I would suggest booting an amd64 INSTALL kernel, and
installing over the existing system.

3.  Likewise, count on needing to recompile your packages.  Many will
probably run under COMPAT_NETBSD32, but I've had some trouble with it...

> What CFLAGS (-march=3D?) are supported? =20

No idea.


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

Version: GnuPG v1.4.1 (NetBSD)