Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.