With a formatted floppy in the drive:

sudo dd if=/dev/hda of=/dev/fd0/bootsect.bin bs=512 count=1

(You can name it whatever you want to.)

Same thing in reverse to restore it:

sudo dd if=/dev/fd0/bootsect.bin of=/dev/hda bs=512 count=1

See these other posts.