> This will *wipe out* your partition table, but it's already been wiped
> out because of a disk failure on this block. If you're lucky though,
> your hard disk *may* remap the block. If so, you will be able to
> recreate your partition table using fdisk (again, use the one off of
> your Linux hard disk). This assumes that you know the original
> partition layout; if you do not, you may have to reinstall from
> scratch. (Which you would have had to do anyway; this procedure is
> basically a last ditch attempt to try to save you a little money by not
> requiring you to replace the disk.)
>
I had a similar situation recently, where my 2.5G HD had one
unreadable sector and kept crashing my system every several
days. Eventually I wrote a program to read every sector on Linux
partition and write it back. No problems or suspicious noises since
then.
This makes me wonder, why this functionality is not part of e2fsck and
fdisk? It seams that e2fsck can do a much better repair job if it
knows that some sector is bad instead of just reading some garbage after
a program simular to mine ran.
--
_. _ .
(_ ,_ _ , . / ` _ _L | Email: Oleg Kibirev <snowcat@netgate.net>
._)| U(_)\/\/ \_,(_L/L | Visit http://math.math.CSUFresno.EDU/~oleg/math.html
------------------------' to get my programs + PGP public key