From owner-freebsd-current@FreeBSD.ORG Thu Nov 8 18:30:18 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 CA7ED16A420 for ; Thu, 8 Nov 2007 18:30:18 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA3013C4B2 for ; Thu, 8 Nov 2007 18:30:18 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id lA8IJcC3018205; Thu, 8 Nov 2007 21:19:38 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 8 Nov 2007 21:19:38 +0300 (MSK) From: Dmitry Morozovsky To: Aryeh Friedman In-Reply-To: Message-ID: <20071108211624.U4581@woozle.rinet.ru> References: X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Thu, 08 Nov 2007 21:19:38 +0300 (MSK) Cc: freebsd-current@freebsd.org Subject: Re: cross building and installing from i386 to amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 18:30:18 -0000 On Thu, 8 Nov 2007, Aryeh Friedman wrote: AF> As noted in the message on "more field reports..." I managed to boot AF> from acd0 in 7b2 i386 (finally got that cd burned by begging a friend AF> thus was able to install vista that requires it be the first partition AF> on the first boot device [not pata?!?!] thus had to uninstall AF> 8-current amd64)... so I reinstalled 7b2 and now want to AF> crossbuild/install 8-current amd64 over it... how? I use the corss AF> build procedure in build(7) and set DESTDIR=/ and it works find until AF> about 2/3's of the way through installworld (after installing the new AF> kernel but not rebooting).... on reboot init crashs. Until recent this in-place upgrades were not supported. I usually did the following: - cross-buildworld/buildkernel - swapoff - newfs mount /mnt - make installworld distribution installkernel DESTDIR=/mnt - reboot, stop boot2 and enter something like 0:ad(0,b) at boot2 prompt - mount regular filesystems under /mnt - mount -t nullfs /usr/src and /usr/obj - cd /usr/src - make installkernel installworld DESTDIR=/mnt again [this is from memory, I may miss something] HTH Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------