problem with dd/foremoste+usb-hdd - trying to rescue data
I'm trying to recover some data from hda, with windows installed.
I tried with knoppicilin 4 as basis (live-cd), since I don't want to interfere with the data and it was the latest linux I had on cd available. I connected the usb-hdd (larger than hda), and typed in something like
dd if=/dev/hda of=/dev/sda bs=2048k
In preperation, I've tested which bs value results in the best performance, and came up with the mentioned (or maybe 1024k, I don't think it matters too much). When I used a high (>100 aprox.) count of blocks to test, it sort of freezed, and I tried to copy the whole thing, let the machine run for around 40h (I extrapolated the time needed from my benchmark and expected something like 2h max), but it didn't do the job. TOP showed strange values, cpu was 99% wa, not idle, and the rest was used for dd...
So, since I couldn't get an image done, I tried to run foremost on /dev/hda with output to a reiserfs on the usb-hdd...
... went nice, but after some time it also stopped and TOP showed the same strange values.
Foremost (1.0, self compiled, tested succesfully on other machine) did find some files, but it looks like it crashed before it actually wrote something usefull on the usb-hdd, since all the files have 0 bytes in them.
Both application did not write any errors, so I suppose it's not a i/o error. hda is 170Gb.
Any ideas what could be the reason, and what I can do to recover the data?
Last edited by Barkpingu; 11-05-2005 at 09:46 AM.