From: bcwood@pacbell.net Subject: 2 floppy HOW-TO Newsgroups: floppyfw.general Date: Fri, 23 Feb 2001 16:23:29 -0800 Organization: Hyssing.net Reply-To: bcwood@pacbell.net Hello All: I hope I dont irritate anyone with thisduplicate post, but yesterday I had meant to post this on a new thread so someone may not miss it. If people want to use 2 floppies with floppyfw, here is a really simple way to do it. Hopefully there aren't too many bugs. 1. Add a line to the config file USE_2FLOPPY=y 2. Put whatever you are going to use onto the second floppy, possibly into a /packages directory. 3. Edit /floppyfw/floppyfw.ini and add some lines below the ". /etc/config" , probably after the packages and pre scripts, and just before the "adding modules" section; like this: if [ ${USE_2FLOPPY} = 'y' ]; then mkdir /mnt/floppy2 mount -t vfat /dev/fd1 /mnt/floppy2 echo -n "Looking for extra packages: " for i in /mnt/floppy2/packages/*.bz2; do if test -f $i then echo -n "$i " bzip2 ${BZIP} -d < $i | untar fi done echo "Looking for pre- scripts on 2nd floppy" for i in /mnt/floppy2/packages/pre-*.ini; do if test -f $i then PRE=${i#/mnt/floppy2/packages} tr -d '\r' < $i > /etc/$PRE echo $PRE chmod 755 /etc/$PRE /etc/$PRE fi done echo "2nd floppy scripts done." fi 4. Add some lines below the `echo "...scripts done." ' if [ ${USE_2FLOPPY} = 'y' ]; then echo "Looking for post- scripts on 2nd floppy" for i in /mnt/floppy2/packages/post-*.ini; do if test -f $i then POST=${i#/mnt/floppy2/packages} tr -d '\r' < $i > /etc/$POST echo $POST chmod 755 /etc/$POST /etc/$POST fi done echo "2nd floppy scripts done." umount /mnt/floppy2 rm -r /mnt/floppy2 fi I hope this helps some people be able to get more fun services from their machines. Playing around and tweaking these things can be very enjoyable. Please don't flame me for any errors I no doubt made here, I winged it with a little cutting and pasting. You can add higher density floppy devices with mknod if you need to, there's no reason not to be able to use 1680k floppies for this. (use /dev/fd1u1680 or whatever in the mount command) The limiting factor is going to be the 3 meg RAM disk. I have filled mine several times while trying things out. Brad