Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 10:45:32 +0300
From:      Claudiu Chirita <klaudiu@terrasat.ro>
To:        Francois Tigeot <ftigeot@wolfpond.org>
Cc:        freebsd-small@freebsd.org
Subject:   Re: Paring down a FreeBSD system for flash drive use ?
Message-ID:  <40CEA91C.2010301@terrasat.ro>
In-Reply-To: <20040615073217.GA20038@aoi.wolfpond.org>
References:  <1087259406.34774.16.camel@wstaylorm.dand06.au.bytecraft.au.com> <20040615040428.27513.qmail@web53301.mail.yahoo.com> <20040615073217.GA20038@aoi.wolfpond.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I think you need this:

http://www.thinbsd.org/

Francois Tigeot wrote:
> On Mon, Jun 14, 2004 at 09:04:28PM -0700, Joe Schmoe wrote:
> 
>>Murray Taylor <murraytaylor@bytecraftsystems.com> wrote: 
>>Google for minibsd
>>
>>http://neon1.net/misc/minibsd.html
>>
>>Thanks - this is interesting.  However, this is still somewhat of a brute force method for piecing things together - I thought there was some kind of elegant mechanism where you could edit make.conf or something, so that when you did a make world, it would skip the components that you didn't want to - and you could control it with much more granularity than you can in the custom menu in sysinstall ... does this sound familiar at all ?
>>
>>That is, forget that I am doing solid state / flash at all - what is the correct way to install FreeBSD without things like ppp, isdn, and other pieces of the _base_ system that you don't want ?
> 
> 
> You have to edit /etc/make.conf and add NO_xxx lines in it (look in
> /usr/share/examples/etc/make.conf).
> 
> In addition, I use custom CFLAGS when possible. Sometimes -Os produces
> broken code (X11 comes to mind).
> 
> My /etc/make.conf looks like this:
> 
> 	CFLAGS=-Os -march=c3 -fno-strict-aliasing -pipe
> 	NO_ACPI=yes
> 	NO_CVS=true
> 	[more NO_xxx lines]
> 
> I then install the new world in a separate directory:
> 
> 	make world DESTDIR=/itx
> 
> But even though this procedure gives a minimal system, it is too big
> for my requirements (FreeBSD + X11 + rdesktop in 16MB). I am still forced
> to pick and choose components by hand.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40CEA91C.2010301>