From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 16:25:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C8D17D3 for ; Tue, 4 Nov 2014 16:25:42 +0000 (UTC) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 87711A80 for ; Tue, 4 Nov 2014 16:25:40 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id BURW1p002516WCc01URXNe; Tue, 04 Nov 2014 16:25:31 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=XuZ0OD19 c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=GIpPufGBusUA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=v6wH43Vdlbg-1semvFwA:9 a=wPNLvfGTeEIA:10 Received: from sedbergh.lan ([192.168.1.13] helo=curlew.lan) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XlgvB-0000pD-LF for freebsd-questions@freebsd.org; Tue, 04 Nov 2014 16:25:30 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 04 Nov 2014 16:25:28 +0000 Message-ID: <3112581.di7TUJWQMQ@curlew.lan> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RC1-p1; KDE/4.14.2; amd64; ; ) In-Reply-To: References: <545409E0.9030809@bluerosetech.com> <4424214.PdRTGivWqz@curlew.lan> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: Root-on-ZFS upgrade question Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) 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 16:25:42 -0000 On Tuesday 04 Nov 2014 15:11:46 krad wrote: > I would go old school and do a buildworld and kernel, then set the > DESTDIR variable when you do the install parts and mergmaster If you use beadm to create and mount a new environment and then chroot into it to build the world and kernel as described earlier in this thread then you won't need to bother about setting DESTDIR. > Then activate and reboot. > > finally tweak pkg.conf to point at 10 rather than 9, No need to tweak it - /etc/pkg/FreeBSD.conf contains the line: Url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", pkg will evaluate this to match the OS version and hardware of the boot environment. To avoid conflicts with your 9.x system you need to keep /usr and /usr/local inside your boot environment structure.. > and then do a pkg upgrade -f Since you've changed release level it's safer to sort out the packages after booting the new environment instead of in a chroot. Safer to make a list of all your packages then delete them all and reinstall. Also you should have the correct version of pkg for your current OS so cd to /usr/ports-mgmt/pkg and run make install before attempting to install or upgrade the rest of your packages. -- Mike Clarke