From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 15:11:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D304B23F for ; Tue, 4 Nov 2014 15:11:47 +0000 (UTC) Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E8101000 for ; Tue, 4 Nov 2014 15:11:47 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id v1so2583929yhn.25 for ; Tue, 04 Nov 2014 07:11:46 -0800 (PST) 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=BuOju3nPJlSdTX/yYGuCIn6NrfWDF6zCbf50JqKp1Qk=; b=KEoxos4QwnITF+78pX9TpHLD42bmkgvPXsYr/QG26u/SvFv17j4Qx3gWnx65vv/BhW 06Of/T6sBbjZPw0lWgzGr7UqPGLzdray+ux97gASSPf1TNcOvU8gUu0KaydPydJStmDQ m34GRiaIv2naLHu3KYnQFkt1HMxbjTa/opTqO05jDu3FnyOF1otDsXb4UamTqlvCh+uI p8mO8GRl9HzOBxYn6wyI001yhJh1R2VW8/Nl3L0dZT7tWSVHiifuHvlH8ez55pNUlDrV iXLoaoVJrF7jKIsz7cv3YuWwwmt5mHYyW6LjTNYp0/3j+0SauhoacMKxiscQ3Q5eLr5J i3ng== MIME-Version: 1.0 X-Received: by 10.170.174.67 with SMTP id q64mr2164832ykd.103.1415113906779; Tue, 04 Nov 2014 07:11:46 -0800 (PST) Received: by 10.170.156.139 with HTTP; Tue, 4 Nov 2014 07:11:46 -0800 (PST) In-Reply-To: <4424214.PdRTGivWqz@curlew.lan> References: <545409E0.9030809@bluerosetech.com> <5454B500.5030501@infracaninophile.co.uk> <4424214.PdRTGivWqz@curlew.lan> Date: Tue, 4 Nov 2014 15:11:46 +0000 Message-ID: Subject: Re: Root-on-ZFS upgrade question From: krad To: Mike Clarke Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2014 15:11:47 -0000 I would go old school and do a buildworld and kernel, then set the DESTDIR variable when you do the install parts and mergmaster Then activate and reboot. finally tweak pkg.conf to point at 10 rather than 9, and then do a pkg upgrade -f On 1 November 2014 22:35, Mike Clarke wrote: > On Saturday 01 Nov 2014 10:25:04 Matthew Seaman wrote: > > > If your original system had been maintained via freebsd-update(8) > > you could just use that to upgrade to 10.1-RELEASE in place -- when > > it tells you to reboot, just run freebsd-update again. > > I think the second run of freebsd-update needs to be applied after > booting into the new environment so do it after the beadm activate > step. > > An alternative approach is to activate the new environment immediately > after creating it and then reboot and upgrade the new environment to > rev. 10 in the "conventional" way. > > The chroot approach means that you can sort out upgrading the OS and > reinstalling all the ports at leisure without disrupting your working > system until you're ready for the final switch over. I normally use > this approach for major port upgrades and dot level system upgrades > within the same release level but I had problems with upgrading from > 9.1 to 10.0 due, I assune, to incompatibilities between the 10.0 > applications and the running 9.1 kernel. > > If you want to keep the option of reverting to your 9.x system after > the upgrade then you need to make sure that all OS release level > dependant directories like most of /usr and /usr/local are contained > in the boot environment. On the other hand you can save disk space and > download time by placing /usr/ports/distfiles outside of the boot > environment. You will probably also want to keep /var/log, /var/mail > and application databases, e.g. /var/db/mysql, outside of the boot > environment. > > -- > Mike Clarke > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >