From owner-freebsd-small Mon Nov 5 10:58:11 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.kozubik.com (www.kozubik.com [216.188.96.212]) by hub.freebsd.org (Postfix) with ESMTP id 747FA37B405 for ; Mon, 5 Nov 2001 10:58:09 -0800 (PST) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id fA5IloQ96525; Mon, 5 Nov 2001 10:47:50 -0800 (PST) (envelope-from john@kozubik.com) Date: Mon, 5 Nov 2001 10:47:50 -0800 (PST) From: John Kozubik To: Dragon Fire Cc: freebsd-small@FreeBSD.ORG Subject: Re: Minimal System In-Reply-To: <001201c161fa$afa307e0$037d6041@ne.mediaone.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Although this is somewhat of a black art, there are some easy ways to pare down a system. Here is a line of shell code that may help you: for f in `find / | grep ppp` ; do rm -rf $f ; done (you must be in /bin/sh for this to work) This line removes all files relating to ppp. You could put other strings like msdos, isdn, plip, etc. Obviously you should be careful - don't use the string 'nfs', since any file with the string 'confs' will also be deleted. However, once you nail down some functionality that you definitely won't be using (linux, msdos, ppp, slip, plip, readme, README, etc.) you can easily rip them out with this. Remember that just because you did not purposefully install items related to isdn, ppp, etc., does not mean there are not a lot of files in a newly loaded system related to those items. ----- John Kozubik - john@kozubik.com - http://www.kozubik.com On Wed, 31 Oct 2001, Dragon Fire wrote: > Hi Folks, > > I'm trying to make a minimal boot system on a compact flash, 64 MB. I have an IDE compact flash adapter so I'm sure I can treat the compact flash as a disk but where can I find a list of minimal files for creating a FreeBSD installation and how do I get the boot manager into the first sector. > > Any suggestions for the partition sizes etc... > > Any tips or links would be appreciated. > > Thanks in advance! > Paul > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message