Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2002 22:34:04 +0100 (BST)
From:      Andrew Gordon <arg-bsd@arg1.demon.co.uk>
To:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Cc:        Randy Bush <randy@psg.com>
Subject:   Re: small install
Message-ID:  <20021004222336.J44916-100000@server.arg.sj.co.uk>
In-Reply-To: <20021004125433.A5315@cs.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <http://www.wildlab.com/>;
> >   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021004222336.J44916-100000>