Used the boot floppy creation kit available from here: http://crux.nu/files/mkbootfloppy.tar.gz

 

Had to make a few adjustments to get it to work. 

 

 

:cat mkbootfloppy

#!/bin/sh

#

# mkbootfloppy - creates a 1.44Mb bootfloppy image

# Copyright (c) 2002-2003 Per Liden <per@fukt.bth.se>

# Version 1.2

#

 

if [ "$1" = "" ]; then

        echo "usage: `basename $0` <vmlinuz>"

        exit 1

fi

 

if [ "`id -u`" != "0" ]; then

        echo "you must be logged in as root to do this"

        exit 1

fi

 

for file in ./lilo.conf ./message $1; do

        if [ ! -f $file ]; then

                echo "error: $file not found"

                exit 1

        fi

done

 

dd if=/dev/zero of=boot.img bs=1k count=1440

losetup /dev/loop/4 boot.img

mke2fs -qm0 /dev/loop/4

mount /dev/loop/4 /mnt

cp ./message /mnt

cp $1 /mnt/vmlinuz

lilo -C ./lilo.conf

umount /mnt

losetup -d /dev/loop/4

 

# End of file

 

Summary:

Anything that was /dev/loop4 I needed to change to /dev/loop/4

dd command to write to the floppy I had to change from: dd if=boot.img of=/dev/fd0 to dd if=boot.img of=/dev/floppy/0.

 

You can find the original documentation here: http://crux.nu/Main/Handbook2-2#ntoc14

 

Curious to know if this is just my setup or if the docs need updating.

thanks

sig