LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to write an .img file to floppy? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-write-an-img-file-to-floppy-229516/)

ghostboarder 09-11-2004 09:02 PM

how to write an .img file to floppy?
 
Hey guys, im brand new here, so hopefully im not being too lazy by asking :P But i am trying to write an .img file to a floppy. What command would i use to do that?

ghostboarder

amosf 09-11-2004 09:12 PM

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

may need to alter according to file and device...

ghostboarder 09-11-2004 09:17 PM

2880+0 records in
2880+0 records out


Thats what i get........and nothing else happens...the drive light comes on, but nothing else appears to happen?

Edit: When i go to the /mnt/floppy dir, it seems to copy fhe files over at that time? Coz the light came on and the drive appeared to be writing to the disk when i opened that dir. Is that normal?

btmiller 09-11-2004 09:20 PM

That looks perfectly normal, and yes, all data currently on the drive is lost when you dd an image onto it.

ghostboarder 09-11-2004 09:23 PM

Heh, well i know that :D But what i was wondering (maybe i wasnt patient enough?) is why the operation didnt seem to take place until i decided to open the nautilus window and navigate to the /mnt/floppy dir. Was i just impatient and didnt wait long enough for the write to take place? I gave it a good 10 seconds i thought.:)

amosf 09-11-2004 09:29 PM

It's likely that the data was buffered, so mounting the drive would clear that and finalize it for you...

ghostboarder 09-11-2004 09:32 PM

Ok then, very cool.....thanks for all the help guys! :D

Poetics 09-11-2004 10:31 PM

Make sure to umount the drive before ejecting the disk!


All times are GMT -5. The time now is 03:16 AM.