From owner-freebsd-stable@freebsd.org Tue Aug 4 13:34:40 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEB579B2C96 for ; Tue, 4 Aug 2015 13:34:40 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A540EB9 for ; Tue, 4 Aug 2015 13:34:40 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: by labgo9 with SMTP id go9so7355990lab.3 for ; Tue, 04 Aug 2015 06:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yHkucPLW1/AuyPDSBHVWk9xcIQQ/4NAK0Hy9gfNLOvE=; b=GyZCOp690GCzHKHfOu0N/ZSSpQyXbMTKlHCBtuh0lunhiNZs39sEhHPKsm/qz+vHPc I8zdU5rV5H4x69lSxD28YLYoidkSl9ahnLFakw+Fh0NwDXTnhGYQGTom6TWscVfMONzO Ri0nYtUoFZhsFh+5ZxkEOrLGEn7drSIAGixP7TGKatkRDUF0K0lcwxRocJAn4TZJWLgY 9uQtsM+2MbJ1RufSMXwTklDM0Uo5acZU7ZS0WLP5lokpiv5B3K/kEMBGqxQee+zO93h8 uf6Bac/RDYBfsiTcBCjHt/I0Ia3SECo+ItZRYKemylELxIZrQSUjT/C7mZ6HAI8THku3 OiIA== MIME-Version: 1.0 X-Received: by 10.152.26.163 with SMTP id m3mr3536255lag.86.1438695278114; Tue, 04 Aug 2015 06:34:38 -0700 (PDT) Received: by 10.152.1.234 with HTTP; Tue, 4 Aug 2015 06:34:38 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Aug 2015 16:34:38 +0300 Message-ID: Subject: Re: Upgrade SRC built i386 8.4 to 10.1 questions From: Kimmo Paasiala To: Pete French , todorov@paladin.bulgarpress.com Cc: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 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, 04 Aug 2015 13:34:41 -0000 On Tue, Aug 4, 2015 at 4:22 PM, Pete French wrote: >> 1. can I use freebsd-update to migrate to 10.1 i386 > > not qualified to comment on this, to go from 8 to 10 I > wuld recommend going via 9, as I am not sure it can be done in > one step. > >> 2. can I use freebsd-update to migrate to 10.1 amd64 >> 3. can I use source buildkernel + buildworld to migrate i386 8.4 to amd64 10.1 > > here you want to move from a 32 bit install to a 64 bit install. I have > done this using the buildkernel + buoldworld process, but I had to > use a second instagllation. Basically I upgraded to the latest version on > the 32 bit platform, then installed a USB stick with the 64 bit platform, and > upgraded that to exactly the same version. Then I booted from the > USB stick and did an installworld & installkernel with the destination > set to the hard discv with the 32 bit installation on it. > > That actually worked fine, it was on FreeBSD 8 I belive, I havent tried it > recently, but it did shift the machine from 32 bit to 64 bit smoothly. > Obviously you should not have any poirts installed whilst ding this, as they > will need to be reinstalled for the new architecture. > > -pete. I've done a similar operation: https://forums.freebsd.org/threads/migrating-an-i386-installation-to-amd64-without-reinstall.50495/ Remember to run mergemaster(8) with the correct options for the target platform (amd64) or you'll install some wrong configuration files. HTH, -Kimmo