Date: Mon, 3 Feb 1997 19:02:32 +0000 () From: "Lenzi, Sergio" <lenzi@bsi.com.br> To: Charles Henrich <henrich@crh.cl.msu.edu> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD on a floppy? Message-ID: <Pine.BSF.3.91.970203184950.891D-100000@sergio> In-Reply-To: <199702031925.OAA06916@crh.cl.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970203184950.891D-100000>