From owner-freebsd-stable@FreeBSD.ORG Tue May 13 15:37:41 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14345106564A for ; Tue, 13 May 2008 15:37:41 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.4.199]) by mx1.freebsd.org (Postfix) with ESMTP id E3DA28FC19 for ; Tue, 13 May 2008 15:37:40 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from ool-435559b8.dyn.optonline.net (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta4.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0T001LKBCCF2R0@mta4.srv.hcvlny.cv.net> for stable@freebsd.org; Tue, 13 May 2008 11:07:25 -0400 (EDT) Received: from ool-435559b8.dyn.optonline.net (localhost [127.0.0.1]) by ool-435559b8.dyn.optonline.net (8.14.2/8.14.2) with ESMTP id m4DF7NaV099197; Tue, 13 May 2008 11:07:23 -0400 Date: Tue, 13 May 2008 11:07:18 -0400 From: "Aryeh M. Friedman" In-reply-to: To: Pete French Message-id: <4829AEA6.9080306@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: User-Agent: Thunderbird 2.0.0.14 (X11/20080504) Cc: stable@freebsd.org Subject: Re: Changing an installed system from i386 to amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 15:37:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pete French wrote: | I have a box currently running i386 which I want to change over to | run amd64. I have installed a second drive into the machine on which | I have put a basic install of amd64, and have compiled up the world | and kertnel from source. | | Can I simply switch the original partition over by mounting it up | and doin a 'make installworld' with an approrpiate DESTDIR set ? | I guess what I am asking is if anything else is different between | the two versions aside from the actual binaries themselves (i.e. | directory layout and the like). I did roughly the same but slightly different method: 0. Deinstall all ports but record what they are 1. FTP the enitre kernel and base system from what ever version you want 2. Install the kernel with (this assumes 7/8-current): ~ ./install.sh generic 3. Install the base system ~ ./install.sh 4. Reboot (optional) 4a. Get the most recent sources and remake the system with those (optional) 4b. Get and install any other sysinstall distfiles you wish (optional) 4c. Run make delete-old and make delete-old-libs 5. Reinstall all your ports Note: ./install.sh done from what ever dir you put the distfiles in (*DO NOT* intermix kernel and base) 4c is almost not optional -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgprqUACgkQk8GFzCrQm4CtVACeJg9f0SnPG1I1nix/948kHJit GCkAoO8U2D/WCvPJ1Mz3icCCQaQD6180 =o5mP -----END PGP SIGNATURE-----