Gus Wirth wrote:

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

Thanks.  I'll try that.

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.

I *always* format a floppy I haven't used for a while, especially if I'm going to put something new on it. I've had too many stupid failures with floppies, most of which could have been prevented had I just *not* trusted the format already on them.

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

This is good to know. I presume I could substitute "cd-image-file.img /mnt/cd"?



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to