Paring down a FreeBSD system for flash drive use ?

Murray Taylor murraytaylor at bytecraftsystems.com
Tue Jun 15 00:31:19 GMT 2004


Google for minibsd

http://neon1.net/misc/minibsd.html

I have used miniBSD as a firewall box on an Advantech WEB-2143
quite successfully

mjt



On Tue, 2004-06-15 at 10:14, Joe Schmoe wrote:
> Hello,
> 
> I would like to fit a FreeBSD 4.10 system (not pico or anything like that) onto a 16 megabyte IDE flash drive.  I am having reasonable success doing this ... I load FreeBSD with sysinstall onto a normal hard drive, then boot it up and start deleting a lot of things and stripping out things, and when I am done I tar it all up and then put it onto the flash drive with the FIXIT floppy.
> 
>  
> 
> So far so good.  The problem is, my methods for paring down the system are extremely brutish.  Basically I use the custom menu in sysinstall and only install a bare minimum of items, but even then I have a ton of garbage on the system that I never needed, and certainly never selected in sysinstall - but they are part of the base system so I get them anyway.  Files having to do with ISDN and PPP and all sorts of libraries, etc.
> 
> So I basically just walk around the system deleting everything that looks like it is unneeded - sometimes going so far as:
> 
>  
> 
> find / -name '*ppp*' -delete
> 
>  
> 
> Is there a better strategy ?  Is there some rational way I can get an even more minimal install than the minimal install I create from the custom menu in sysinstall ?  That is, instead of deciding that I don't need PPP, and then going around deleting everything to do with PPP, is there a way to just not have PPP installed in the first place ?
> 
>  
> 
> thanks.
> 
> 		
> ---------------------------------
> Do you Yahoo!?
> Friends.  Fun. Try the all-new Yahoo! Messenger
> _______________________________________________
> freebsd-small at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-small
> To unsubscribe, send any mail to "freebsd-small-unsubscribe at freebsd.org"
> 
> ****************************************************************
> This Email has been scanned for Viruses by MailMarshal.
> ****************************************************************
-- 
Murray Taylor
Special Projects Engineer
---------------------------------
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: murraytaylor at bytecraftsystems.com
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---------------------------------------------------------------
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---------------------------------------------------------------

****************************************************************
This Email has been scanned for Viruses by MailMarshal.
****************************************************************


More information about the freebsd-small mailing list