PDA

View Full Version : writing floppy disk images to the floppy



linuxman
10-25-2005, 02:49 PM
Is there anywhere a utility to write disk images to flopies on Knoppix? I am trying to write Windows XP SP2 bootdisks to boot my machine up and make repair installation.

rwcitek
10-25-2005, 10:40 PM
Is there anywhere a utility to write disk images to flopies on Knoppix? I am trying to write Windows XP SP2 bootdisks to boot my machine up and make repair installation.
Yes, it's called dd. For example, let's say you have an image called "floppy.img". To transfer the image on to a floppy, insert a floppy into the drive and type this code:

dd if=floppy.img of=/dev/fd0

BTW, dd is a generic data dumping utility. You can use it to create images of CDs, floppies, hard drives, tapes, swap space, etc. Just specify an input file (if=) and an output file (of=) and you're good to go. For example, to create an image of a CD:

dd if=/dev/cdrom of=cd.iso

Good luck and let us know how things go.

Regards,
- Robert
http://www.cwelug.org

irlandes
12-10-2005, 11:47 PM
To make an iso of a floppy, type at a prompt:

cat /dev/fd0 > /path/morepath/filename.img

To write a img file to a floppy,

cat /path/morepath/filename.img > /dev/fd0

On some distros, it has been necessary to umount the floppy to get it to write, but that was a long time ago. I don't use it so much any more since I have a writer.