From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 23 19:53:45 2005 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64DF916A41F for ; Fri, 23 Dec 2005 19:53:45 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44DF843D7C for ; Fri, 23 Dec 2005 19:53:30 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jBNJrOfJ017382; Fri, 23 Dec 2005 21:53:24 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 20423-01; Fri, 23 Dec 2005 21:53:21 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jBNJZUUD016890 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Dec 2005 21:35:30 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jBNJZdhV032371; Fri, 23 Dec 2005 21:35:39 +0200 (EET) (envelope-from ru) Date: Fri, 23 Dec 2005 21:35:39 +0200 From: Ruslan Ermilov To: "Matthew D. Fuller" Message-ID: <20051223193539.GA31874@ip.net.ua> References: <20051222220752.GB45319@ip.net.ua> <43AC0D3F.5050902@palisadesys.com> <20051223145919.GH63497@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: <20051223145919.GH63497@over-yonder.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: amd64@freebsd.org Subject: Re: Updating i386 in-place to amd64 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: Fri, 23 Dec 2005 19:53:45 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 23, 2005 at 08:59:19AM -0600, Matthew D. Fuller wrote: > On Fri, Dec 23, 2005 at 08:44:15AM -0600 I heard the voice of > Guy Helmer, and lo! it spake thus: > > Ruslan Ermilov wrote: > >=20 > > >Yesterday, I was playing updating the i386 6.0-STABLE in-place to > > >amd64 (the system was initially running on i386 core, then the disk > > >was moved to the Opteron server). It succeeded, but there were > > >some fun. The idea I had is to: > > > > Wow, I'm impressed. I was trying to do an automated, in-place i386 > > to amd64 upgrade (without source, though) back in August and never > > got to the point of successfully booting an amd64 kernel running > > i386 binaries. I did get a good idea, though, that I never followed > > up on: Matthew Fuller suggested hijacking the swap partition for a > > temporary amd64 root partition (message id > > 20050809124756.GA27425@over-yonder.net). >=20 > Yeah, I like the extra safety margin that gave. I had a known-good > i386 partition to boot while I made sure the amd64 one booted, and > then a known-good (and pure) amd64 one to fall back on if I screwed up > blatting the amd64 stuff over the real partitions. And it gave me an > excuse to track down all the loader variables that needed to be set to > boot off a different partition, which I've now re-forgotten (2 of 'em, > I think, needed to be changed?) >=20 Nope, just one, always visible with kenv(1) when I forget it: vfs.root.mountfrom=3D"ufs:/dev/ad0a" Or "boot -a" in loader(8). > I never managed to get the amd64 > kernel to load anything i386 in the boot path, either init (for > multiuser) or sh (for single-user). This was 5.4, I think (maybe > 5.3). >=20 Well, this "somehow" works now. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDrFGLqRfpzJluFF4RAoH8AJ9LDZInGPjXA2RlD9KT9EHpsZfMgQCcCyYQ auDE3GsOtqrC+RMS2sWp4Bg= =mCMc -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--