I have a floppy disk with bad sectors and I want to get my files off it. Basically I want /dev/fd0 device not to report these errors I've tried /etc/fdprm file but that doesn't seem to be the way to go. Acording to the man pages there is a way to set the error reporting of floppy disks but can't figure it out. Any ideas anyone?
Other stuff I've tried.
dd can read some of the disk and if you use the conv=noerror you will get most of it but I want to try and get the stuff in the bad sectors as well I've tried
dd if=/dev/fd0 of=save-my-stuff bs=1 conv=noerror
I thought that this would do it but it only gets as far as the first bad sector and continuously reads that. I know that all of the disk past this sector is not bad so I've also tried
dd if=/dev/fd0 of=save-my-stuff2 bs=1 skip=<place where error started> conv=noerror
This still gets hung up on the problem area of the disk. If bs=512 or even 500 some how dd gets over the bad patch and gets more good data.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!