From owner-freebsd-questions@FreeBSD.ORG Thu May 17 08:02:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE9F61065670 for ; Thu, 17 May 2012 08:02:50 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp1.insight.synacor.com [208.47.185.23]) by mx1.freebsd.org (Postfix) with ESMTP id A54DD8FC08 for ; Thu, 17 May 2012 08:02:50 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=rkgxjMBYhgowM3sfH/RQsg+jECNF8WDRFC1Y2qIyHaM= c=1 sm=0 a=F3fr6IO9xwAA:10 a=jLN7EqiLvroA:10 a=6I5d2MoRAAAA:8 a=w1QZjdS6WLwhgXUW5icA:9 a=prGEkoKzoijnO1pKwQkA:7 a=fgf5PR_cwQYA:10 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp01.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:39046] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id F5/B1-21955-4A0B4BF4; Thu, 17 May 2012 04:02:44 -0400 Date: Thu, 17 May 2012 04:02:44 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: Building FreeBSD to install or update in two DESTDIRs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 08:02:50 -0000 from Polytropon: > In case you need to do more than one additional installation, > you should consider creating a tar archive of the fully installed > system and then use tar --unlink to the mounted target. If you > need to create many bootable systems from scratch, a script > performing the disklabel, newfs, mount and tar steps should > be easy to write. I don't want more than one additional installation, and might do that one only once. But if I wanted to create many bootable systems from scratch, I could create an installation image, ISO or memstick. > > Subsequently I would also want to build for i386, but this > > would be after the amd64 build and installation/update. > In case you're creating different TARGET= architectures, > the fun doubles. :-) I think only one build machine is used to create FreeBSD snapshots? You can 'make universe'? I guess the fun more than doubles when I try to create a NetBSD installation cross-building from FreeBSD, or a Cross-Linux-from-Scratch. Consider that NetBSD has been unstable on my new computer even with a binary installation. > > It would be nice if bsdinstall had an option for update as > > well as fresh install. > This step can easily be performed manually using freebsd-update > right after installation. I think freebsd-update is for a binary upgrade from the freebsd.org servers? Tom