# Copy image from original floppy
dd if=/dev/fd0 of=boot.img
# Put that image onto another floppy
fdformat /dev/fd0
mke2fs -m 0 /dev/fd0
dd if=boot.img of=/dev/fd0
If you decided to create a new grub floppy from scratch....
This gives you the boot menu just like it was installed on the hard drive.
Code:
fdformat /dev/fd0
mke2fs -m 0 /dev/fd0
mount -t ext2 /dev/fd0 /media/floppy
mkdir -p /media/floppy/boot/grub
cp -pa /boot/grub/* /media/floppy/boot/grub
umount /media/floppy
# Create a text file called /home/stuff ...
cat > /home/stuff << EOF
root (fd0)
#the following is all one line
install /boot/grub/stage1 d (fd0) (fd0)/boot/grub/stage2 0x8000 p (fd0)/boot/grub/menu.lst
#
quit
EOF
# Install grub to the floppy disk with this command:
grep -v ^# /home/stuff | grub --batch