From owner-freebsd-questions@FreeBSD.ORG Mon May 14 13:23:22 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 CBE15106564A for ; Mon, 14 May 2012 13:23:22 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 376318FC0C for ; Mon, 14 May 2012 13:23:21 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q4EDNHXI008592; Mon, 14 May 2012 15:23:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q4EDNGU6008589; Mon, 14 May 2012 15:23:17 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 14 May 2012 15:23:16 +0200 (CEST) From: Wojciech Puchar To: Thomas Mueller In-Reply-To: <22.B2.26116.B4130BF4@smtp01.insight.synacor.com> Message-ID: References: <22.B2.26116.B4130BF4@smtp01.insight.synacor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 14 May 2012 15:23:17 +0200 (CEST) Cc: 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: Mon, 14 May 2012 13:23:22 -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). REALLY can't help you without any info attached. As from your description it just have to work and you did all fine. anyway i usually just do installs to DESTDIR=/something, then tar.gz it up, and untar whenever i need (but separately tar.gz for /boot/kernel subdir) use --unlink option when untarring on live system.