At 00:15 06/09/2005 -0700, Ralph Shumaker wrote: >I seem to recall something about "dd" to create a floppy from a >downloaded "*.img" file. "man dd" doesn't seem to give me the info I need. > >Can anyone show me the recipe? Please?
$ dd if=your-disk-image.img of=/dev/fd0 bs=512 where dd = command if = input file of = output file (remember, just about everything is treated like a file, even if it's a device) bs = block size You probably don't really need the block size part, as all the bytes will still make it onto the the disk. One thing you should do before putting the image on the floppy is to format the floppy and check it for bad blocks. That way you won't have any missing data when the image is transferred. If all you need to do is read information from the floppy image, you could just mount the image file in a loopback mount, like this: # mount -t auto -o loop floppy-image-file.img /mnt/floppy Gus -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
