From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 06:06:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F08B16A4CE for ; Wed, 29 Oct 2003 06:06:42 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2833C43FDD for ; Wed, 29 Oct 2003 06:06:41 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 3282A3AB7; Wed, 29 Oct 2003 09:06:40 -0500 (EST) Sender: lowell@be-well.ilk.org To: Michael Grant References: <20031028135128.GZ94831@grant.org> From: Lowell Gilbert Date: 29 Oct 2003 09:06:39 -0500 In-Reply-To: <20031028135128.GZ94831@grant.org> Message-ID: <44wuao3zps.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: installing freebsd on another disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 14:06:42 -0000 Michael Grant writes: > I'd like to install freebsd on another disk from source. Can I do > something like?: > > cd /usr/src > make buildworld > make PREFIX=/mnt installworld > make PREFIX=/mnt kernel > > If not $PREFIX, what's the right answer? > > I'd try it and see...but I only have my one live box. Thanks DESTDIR is what you're looking for, but its use is a little tricky. I wouldn't recommend trying this if you don't have a system to spare. [I suppose you could try it inside a jail...]