From owner-freebsd-questions@FreeBSD.ORG Sun May 13 22:10:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1B461065670 for ; Sun, 13 May 2012 22:10:20 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp2.insight.synacor.com [208.47.185.24]) by mx1.freebsd.org (Postfix) with ESMTP id 787408FC0A for ; Sun, 13 May 2012 22:10:20 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=iCxQ2kq66ZHF3wPjlKzQeMuOkVoQeyqQG3WjwENx55Q= c=1 sm=0 a=Sj-eBYvPyQsA:10 a=jLN7EqiLvroA:10 a=5iCrPLdQuELZtGDkVaIA:9 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp01.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; 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:50951] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 22/B2-26116-B4130BF4; Sun, 13 May 2012 18:10:19 -0400 Date: Sun, 13 May 2012 18:10:19 -0400 Message-ID: <22.B2.26116.B4130BF4@smtp01.insight.synacor.com> From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: 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: Sun, 13 May 2012 22:10:20 -0000 I would like to build FreeBSD to install in two places: regular hard drive and also on a USB stick, probably 8 GB. USB stick install would be for backup, in case something goes awry with a later update, then I have something to fall back on; could also install tools such as gdisk to use on hard drive. I tried make installkernel and make installworld, but those didn't fully work right the second time, with DESTDIR=/mnt (USB stick main partition). /usr/src/UPDATING doesn't say how to update for two DESTDIRs on the same build. Update (from 9.0_RELEASE amd64 to STABLE) was successful on main, hard-drive installation. I had spontaneous reboots at times of inactivity, without cleanly umounting file systems, under the release, but upgrading to STABLE fixed that. I also want to build the same 9.0_STABLE to install on a 16 GB USB stick, which could be used on my older computer, but this would be i386 version; I could also use it on new computer for 32-bit compatibility needed for emulators/wine (but not doscmd, I tried that and didn't like it.). I can't do this on old computer from FreeBSD 8.2 because of shortage of disk space and only 256 MB RAM. I could do that either concurrently (how?) or after the amd64 update. Tom