From owner-freebsd-current@FreeBSD.ORG Wed Nov 14 18:22:19 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1509A16A41A for ; Wed, 14 Nov 2007 18:22:19 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2001:1b20:1:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 73F1813C45D for ; Wed, 14 Nov 2007 18:22:18 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id lAEIM8LU026088; Wed, 14 Nov 2007 19:22:14 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id lAEIM7ZU026087; Wed, 14 Nov 2007 19:22:07 +0100 (CET) (envelope-from olli) Date: Wed, 14 Nov 2007 19:22:07 +0100 (CET) Message-Id: <200711141822.lAEIM7ZU026087@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, aryeh.friedman@gmail.com, chuckr@chuckr.org In-Reply-To: <47311F63.5090807@gmail.com> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 14 Nov 2007 19:22:14 +0100 (CET) Cc: Subject: Re: conversion of an installed base i386 -> amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, aryeh.friedman@gmail.com, chuckr@chuckr.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 18:22:19 -0000 Hi, Sorry for the late reply, but the following caught my attention, because others might read it and do it in the wrong way, rendering their machines unusable. Aryeh M. Friedman wrote: > Chuck Robey wrote: > > I have finally decided that I really should have installed my > > quad-core-2 equipped box as a amd64, instead of the i386 (32 bit > > should have been 64 bit). I just finished a buildworld, and I > > checked, the binaries (which I haven't yet done an installworld on) > > are actually amd64/64 bit binaries. I'm running -current, which is > > mostly why I;m on this list, but my question is one of installation > > order: in doing the conversion, I don't really like the idea of > > accidentally hanging the box. I would like someone to please let me > > know, what's next? Understand, I am still running the i386 compiler > > (but the buildworld builds it's own private compiler, thank you very > > much). I need to know, should I install the world next? Or, is there > > some more correct strategy to get the kernel built? > > The procedure I used was: > > 1. FTP the distfiles for the base system > (ftp://.../release/distfiles/base) [you may need to do a down grade to > RELENG temporarily until you get to step 6] > 2. Do the same for the kernel files > 3. Install the kernel files (cd ...../distfiles/kernel;install.sh GENERIC) > 4. Install the base files (cd ...../distfiles/kernel;install.sh;install.sh) > 5. Reboot (your now running an 100% amd64 in the base system) > 6. Do the normal procedure for recompiling the system and ports Are you sure you did _not_ reboot between steps 3 and 4? Because, at this point, you have a 64 bit userland, but you're still running from a 32 bit kernel. That's not going to work. Your kernel wouldn't even be able to execute /sbin/reboot. The easiest way, of course, is to install on a different disk and then swap disks. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The most important decision in [programming] language design concerns what is to be left out." -- Niklaus Wirth