LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2004, 09:02 PM   #1
ghostboarder
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake Linux 10
Posts: 22

Rep: Reputation: 15
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
 
Old 09-11-2004, 09:12 PM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
dd if=imagefile.img of=/dev/fd0

may need to alter according to file and device...
 
Old 09-11-2004, 09:17 PM   #3
ghostboarder
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake Linux 10
Posts: 22

Original Poster
Rep: Reputation: 15
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?
 
Old 09-11-2004, 09:20 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
That looks perfectly normal, and yes, all data currently on the drive is lost when you dd an image onto it.
 
Old 09-11-2004, 09:23 PM   #5
ghostboarder
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake Linux 10
Posts: 22

Original Poster
Rep: Reputation: 15
Talking

Heh, well i know that 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.
 
Old 09-11-2004, 09:29 PM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
It's likely that the data was buffered, so mounting the drive would clear that and finalize it for you...
 
Old 09-11-2004, 09:32 PM   #7
ghostboarder
LQ Newbie
 
Registered: Sep 2004
Distribution: Mandrake Linux 10
Posts: 22

Original Poster
Rep: Reputation: 15
Ok then, very cool.....thanks for all the help guys!
 
Old 09-11-2004, 10:31 PM   #8
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Make sure to umount the drive before ejecting the disk!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy boot disk *.img file dherve SUSE / openSUSE 1 08-31-2005 01:49 PM
making an .img of a floppy scankyfrank Linux - General 5 05-17-2005 11:41 AM
unable to write to mounted .img file decaf Linux - General 10 03-21-2005 05:15 PM
how to create floppy.img rickenbacherus Linux - General 2 05-12-2003 07:29 PM
floppy disk .img arlothemoo Linux - General 4 08-21-2002 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration