From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 2 17:30:59 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E31CB16A416 for ; Sat, 2 Dec 2006 17:30:59 +0000 (UTC) (envelope-from mwm-dated-1165944672.5f9d4a@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.FreeBSD.org (Postfix) with SMTP id B9B1043CA3 for ; Sat, 2 Dec 2006 17:30:37 +0000 (GMT) (envelope-from mwm-dated-1165944672.5f9d4a@mired.org) Received: (qmail 99655 invoked by uid 1001); 2 Dec 2006 17:31:12 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Sat, 02 Dec 2006 12:31:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17777.47200.238259.933313@bhuda.mired.org> Date: Sat, 2 Dec 2006 12:31:12 -0500 To: Ruslan Ermilov In-Reply-To: <20061202171318.GA32377@rambler-co.ru> References: <20061202120938.GC31623@dinsnail.net> <84dead720612020527k644f67d1h36c715a2cbfd4c53@mail.gmail.com> <20061202170124.GD31897@rambler-co.ru> <17777.45950.536177.528750@bhuda.mired.org> <20061202171318.GA32377@rambler-co.ru> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-amd64@freebsd.org Subject: Re: Cross compile world on i386 to x86_64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2006 17:31:00 -0000 In <20061202171318.GA32377@rambler-co.ru>, Ruslan Ermilov typed: > On Sat, Dec 02, 2006 at 12:10:22PM -0500, Mike Meyer wrote: > > In <20061202170124.GD31897@rambler-co.ru>, Ruslan Ermilov typed: > > > On Sat, Dec 02, 2006 at 06:57:32PM +0530, Joseph Koshy wrote: > > > > >Can I avoid reinstalling the system with amd64 binaries by > > > > >cross-compiling world and kernel for amd64 on the installed > > > > >i386 FreeBSD-CURRENT? > > > > > > > > Yes, it is possible, do check the archives for the details. > > > > > > > We've been doing this "upgrade" last week; > > > compared to the last time I checked it, the > > > 32-bit compatibility only improved, so the > > > whole process was much simpler, and basically > > > was like this: > > > > I went through it a month or so ago. I'll add one bit of advice: > > > > Drop in a spare disk and dual boot during the transition. My system > > disk was mirrored, and I turned that off and set up one of the two as > > amd64 during the transition, then turned the mirror back on when it > > was done. > > > > That also makes the cross-compile installation process easier, as you > > can mount the second disk on your i386 system and just just install to > > it. > > > That's not sexy; with two disks you can install amd64 bits > on a spare disk under i386 without problems, boot from the > new disk, and so on, but this would not be called the > "in-place upgrade from i386 to amd64" then. ;) Yup, not sexy at all. There's almost no danger of leaving your system unbootable, and being able to trivially back it out if you decide to for some reason (like a critical application not working on amd64) is like wearing suspenders and a belt. I admit, I probably wouldn't have done that if I didn't have a mirrored system disk, but since I could do it without actually touching the hardware... http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.