Subject: Re: "upgrading" NetBSD/i386 to NetBSD/amd64 ?
To: Geert Hendrickx <ghen@telenet.be>
From: Jeff Rizzo <riz@NetBSD.org>
List: port-amd64
Date: 10/31/2005 07:57:10
--a8Wt8u1KmwUX3Y2C
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 build.sh rout=
e?
> 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=
86
> 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...
>=20
> What CFLAGS (-march=3D?) are supported? =20
No idea.
+j
--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iQCVAwUBQ2Y+1rOuUtxCgar5AQKibwP+IilYcYL4WvnLFLYPbEvv4Ym1q+wru23F
cn0X88t/gEkjgQGDxoiUmD+3ceMoMpGuobyEQyDpVv5wXtjh0b7NuU7E5/Qe6RGl
1jRKSuLTGjWkVrg53VKrH2z/HcCKPzt4P6r0e5wyqlioUzxjZRZxVIH+Sr4CAzy2
VoyVbkZGxVs=
=01Po
-----END PGP SIGNATURE-----
--a8Wt8u1KmwUX3Y2C--