From owner-freebsd-stable Fri Oct 4 14:34: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D089637B401 for ; Fri, 4 Oct 2002 14:34:05 -0700 (PDT) Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5895143E6A for ; Fri, 4 Oct 2002 14:34:05 -0700 (PDT) (envelope-from arg-bsd@arg1.demon.co.uk) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id 438AD9B13; Fri, 4 Oct 2002 22:34:04 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id 3F84E5D0C; Fri, 4 Oct 2002 22:34:04 +0100 (BST) Date: Fri, 4 Oct 2002 22:34:04 +0100 (BST) From: Andrew Gordon X-X-Sender: To: FreeBSD Stable Cc: Randy Bush Subject: Re: small install In-Reply-To: <20021004125433.A5315@cs.rpi.edu> Message-ID: <20021004222336.J44916-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, Roddy Collins wrote: > On Fri, Oct 04, 2002 at 12:17:42AM -0700, Randy Bush wrote: > > so if i want to build/install world > > o for a rather small but not pico system, 32m ram and 512m hd > > see > > o not have games, compiler, ... but need networking of course > > o do the install onto an ibm microdrive on my laptop which i then > > push into the tiny machine > > > > are there clues, howto, ... somewhere? > > I used the steps at http://neon1.net/misc/minibsd.html with great > success to get 4.7-PRE into 14 megabytes onto a flash card for a > firewall. That page has some good stuff on it, but the very first hint is rather bogus. You don't need a complete separate drive/partition for doing 'installworld' into: you can specify a target directory: cd /usr/src make DESTDIR=/some/handy/place installworld Similarly, if you are doing a separate buildworld to use different make options (eg. for dynamic linking) you can use MAKEOBJDIRPREFIX to put the build directory somewhere different if you want to preserve the host machine's /usr/obj (though I don't usually bother). Also, I normally specify different make options on the command line (actually a 2-line shellscript to save typing!) rather than editing /etc/make.conf - though this is all a matter of personal taste. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message