Creating a large floppy disk image in the filesystem is not hard. Follow these steps:
Create a file of the right size:
dd if=/dev/zero of=/tmp/disk.ima bs=1024 count=1680
With GNU dd, you can use 1k
instead
of 1024
for the block size; it means
the same thing.
Format the disk for use with MSDOS. This can be accomplished
this way: mkfs.msdos /tmp/disk.ima
VFAT (mkfs.vfat) will also work, but syslinux does not understand the VFAT filesystem. Thus, for files used by syslinux you must stay within the MSDOS limitations for it to work. The Linux kernel must then support the VFAT filesystem.
Most LRP kernels do not understand the VFAT filesystem; for best compatability stay with the MSDOS filesystem. The ability to use long filenames is lost, however.
Apply syslinux [11]
Mount in the system if desired:
mount -o loop /tmp/disk.ima /mnt
Now copy everything desired to be on the floppy disk to /mnt.
Unmount when done: umount /mnt
[11] The version of syslinux being
used can be gotten from a UNIX environment this way:
strings ldlinux.sys | head -n 1