LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-29-2006, 10:05 AM   #1
ArnaudL
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
trouble mounting dd image file of corrupt floppy


I created an image file with dd_rescue of a floppy disk which contained bad blocks. The instructions I read said to then run fsck.msdos on the image file, and then to mount it with the following command "mount -o loop floppy.img /mnt/floppy".

Running fsck.msdos on the image results in an input/output error.

Running the mount command comes back with "you must specify a filesystem type". If I run the above mount command with -t and specify either msdos or vfat (this is a windows formatted floppy), I get "wrong fs type, bad option, bad superblock on /dev/loop0". Running dmesg comes back with "can't find a valid fat filesystem on dev loop0".

I think I have a decent image of the floppy. If I could just get it mounted I could copy off the file I want to recover, but I can't seem to get the image mounted. I should point out that windows tells me that both FAT filetables on the disk are corrupt, however I'm able to mount the actual floppy in linux, and running ls returns the contents of the disk. Anyone know of a way for me to force the mount?

Also, anyone know of a way to copy files so that it will skip over bad blocks and continue copying instead of just terminating the way cp does? Using the actual floppy disk I'm able to copy off 8k of a 28k file before cp crashes, but if it could just skip the bad block I'm sure I could get more.

Thanks.
 
Old 11-29-2006, 10:24 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
It sound like a mightily corrupt disc.

Consider trying to image the disc from different machines - some floppy drives might be better calibrated than others.

Apart from that, it sounds like you're doing more or less the right things.
 
  


Reply

Tags
copy, dd, floppy, image, rescue


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
mounting a dd image file? bfay Linux - General 5 01-14-2011 08:44 AM
Trouble mounting floppy drive in Ubuntu 5.10 vital_101 Ubuntu 13 09-16-2006 11:14 AM
mounting image file manicman Linux - Newbie 3 11-25-2005 04:36 AM
image file mounting cchanana Linux - Newbie 9 01-26-2005 06:24 AM
What image file do I use for the boot floppy on Install??? sourlinux Linux - Newbie 8 10-15-2003 11:54 PM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration