On Wednesday 09 April 2003 22:03, Henry Harpending wrote:
On Wed, Apr 09, 2003 at 04:54:15PM +0700, Matt T. wrote:
On Wednesday 09 April 2003 12:32, Henry Harpending wrote:
I recently had my hard disk go bad. It was set up as /boot in partition 0, swap in partition 1, and root in partition 2 formatted with reiserfs. The failure was that partition 2, the root partition, could not be read during boot.
I installed another hard disk, reinstalled my system, and I would like very much to recover some of the files on the failed disk. It is now /dev/hdb, I can mount partition 0, but I cannot mount partition 2 where all the data are.
Is there any method or trick to recover any of the data in the partition given that I am unable to mount it?
Thanks, Henry Harpending
Hi Henry,
Next time start a new thread with your question please!
Did you ever try to repair it with a fsck / fsck.reiserfs ?
This always worked fine for me, I used it a few times already, all data back, no need to reinstall.
I have tried reiserfsck on the partition, even with the scary options like --rebuild-tree, and it always aborts with this message:
bread: Cannot read a block # 18153472.
That looks bad, I had that once on a broken disk, which I had to throw away. It was not a reiserfs problem, but a physical problem on the hdd. But your idea sounds good, If that is the only problem. However sorry, I do not know how to instruct reiserfs to ignore it.
If I could somehow persuade it to ignore the file on this block perhaps I could recover the rest.
Thanks, Henry Harpending
Regards, Matt T.