LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   trouble mounting dd image file of corrupt floppy (http://www.linuxquestions.org/questions/linux-software-2/trouble-mounting-dd-image-file-of-corrupt-floppy-505926/)

ArnaudL 11-29-2006 10:05 AM

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.

matthewg42 11-29-2006 10:24 AM

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.


All times are GMT -5. The time now is 10:43 AM.