From owner-freebsd-questions Mon Feb 3 12:59:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA19767 for questions-outgoing; Mon, 3 Feb 1997 12:59:59 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA19756 for ; Mon, 3 Feb 1997 12:59:56 -0800 (PST) Received: from sergio.lenzi ([200.247.23.107]) by mail.crl.com with SMTP id AA26244 (5.65c/IDA-1.5 for ); Mon, 3 Feb 1997 12:59:15 -0800 Received: (from lenzi@localhost) by sergio.lenzi (8.7.5/8.7.3) id TAA01167; Mon, 3 Feb 1997 19:02:33 GMT Date: Mon, 3 Feb 1997 19:02:32 +0000 () From: "Lenzi, Sergio" X-Sender: lenzi@sergio To: Charles Henrich Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD on a floppy? In-Reply-To: <199702031925.OAA06916@crh.cl.msu.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk FreeBSD on a floppy??? Once I did it Supose you have a floppy with a ufs filesystem on it.. disklabel -r -w /dev/rfd0 fd1440 newfs -t2 -u 18 /dev/rfd0 tunefs -m 0 /dev/rfd0 mount /dev/fd0 /mnt mkdir /mnt/sbin /mnt/dev /mnt/etc 1) install the sources (the /usr/src directory) 2) use the crunchgen command (man crunchgen) to build an executable with everything you need inside like: ifconfig, route, netstat, pppd, sh, cp, cat, find, cpio... Name it binaries and install it on a /bin in the floppy using gzip gzip < binaries > /mnt/bin/binaries. 3) make the /dev directory on the floppy (cd floppy, sh /dev/MAKEDEV all). 4) build a small kernel with gzip binaries, pppd slip. and install it on the floppy. 5) create links for the binaries (ln -s binary cp; ln -s binary sh....) 6) copy the /sbin/init to the /mnt/sbin 7) create a etc/rc in the floppy... This is the startup file the system will use. Once booted, the system will execute the /etc/rc file... There you can setup anything you want using the commands in the /bin Hope this will help.... Sergio Lenzi. Unix consult.