PDA

View Full Version : dd_rhelp know-how..?


Adlopa
12-04-2006, 07:01 AM
Does anyone have any experience with dd_rhelp (http://www.kalysto.org/utilities/dd_rhelp/index.en.html)? It's a script for dd_rescue (http://www.garloff.de/kurt/linux/ddrescue/) that supposedly gives improved performance.

I'm trying to rescue the data from a failed B drive. At the Konsole in Knoppix with both old and new drives connected, dd_rescue runs fine until it hits bad blocks, then it runs very slowly (which is the correct behaviour).

When I try dd_rhelp, however, it wants the drives to be mounted first (dd_rescue does not). The problem is that Knoppix doesn't recognise the file systems on either drive and so won't mount them.

My Linux knowledge is next to nothing -- am I missing some fundamental step here..?

blindlemon
12-04-2006, 07:07 AM
Byteswapping :)

Boot with the drives byteswapped and you will be able to mount the partitions.

Adlopa
12-04-2006, 07:14 AM
Er, okay... And how I would I do that..?

blindlemon
12-04-2006, 07:18 AM
I have no idea - I don't know knoppix :o

With other distros you can often specify something like vmlnodma hdc=bswap at the boot: prompt.

Adlopa
12-04-2006, 07:33 AM
"Could not find kernel image: vmlnodma". So I guess that means it isn't going to work?

blindlemon
12-04-2006, 09:39 AM
I guess so.

Don't you have a manual, or an alternative boot CD?

Adlopa
12-04-2006, 10:31 AM
Bah -- I've abandoned that idea. Instead, I ran dd_rescue to grab as much as I can from the drive at either side of the bad sectors -- I lost about 30Mb, or so. With the drive back in the Tivo, it hangs at 'powering up' -- do I need to do something else to the new drive after I've copied the old drive onto it? It's part of a pair.

blindlemon
12-04-2006, 11:24 AM
Have you set the jumpers correctly?

Even if the B drive is completely trashed the TiVo should get past powering up if the A drive is OK.