Quote:
... you ddrescue-d a 160GB patient HDD to a 160GB image file on a 250GB HDD.You then copied this first image file to a third HDD as an image file,...
Yes, that's correct!!! The command line written in my previous post doesn't show the cloning procedure from the get go. I thought it wont be necessary to give all the details of the rescue process since I have surpassed that step successfully, I believe.I'm more interested in recovering data in post-cloning steps, and thus my first post is all concerned in recovering data from the image file spat out by ddrescue. But here it is from the start for better understanding of my situation (though,it may not be fully accurate as I kept no record of all the commands I used while inside the command-line world of Ubuntu).
Code:
sudo lshw -C disk -short
From the above command I have "/dev/sda" as destination for writing the image files.Then I reformatted the healthy disk, like this:
Code:
sudo mkfs.ext3 /dev/sda
When finished formatting, I created a folder "recovery" and inside of it mounted the drive executing these commands, one by one:
Code:
sudo mkdir mnt
sudo mount /dev/sda mnt
cd mnt
sudo mkdir recovery
cd recovery
Then I started using the recovery commands written in my last post with only one correction though, "/dev/sdb" being the source drive.Indeed, what you see there is what I used in a nutshell (so to speak) and doesn't represent the entire route it took me to come all the way to here...
Now, concerning the 1st command I wrote in the previous post, I'm 110% sure I have used it as the 1st attempt to recover as much data as possible, skipping bad sectors, hence "-n" switch (--no-split). However, I cant remember if that command was understood by ddrescue or not!!! I have interrupted the rescue process many times and tried a little less than a dozen different command lines all the way through and can't tell exactly which of them produced the desired results and which just simply didn't do anything. I mostly tried common commands that are used by other people on the net with the same issue as mine. I'm just an end-user in the HHD world and can't pretend I have technical knowledge on how to recover broken HDD's even less understand weather a line of code is good or bad for certain tasks. It's over my head, really...
Nonetheless, I managed to find a screenshot of the rescue process (somewhere close to the end of recovery period of about a month) taken with my cellphone. It'll help you see a glimpse of what I have done and I hope to receive better feedback...

Quote:
...and you finally ddrescue-d the copied image file to the second HDD as a sector-by-sector clone. This means that the first 160GB of the 250GB HDD should be a sector-by-sector clone of the patient HDD. However, it doesn't look that way.
Partially correct!!! What I did (after I copied the image file to a 3rd HHD) is mounting/cloning this image back to 250GB disk. Of course, overwriting everything what's left in there from ddrescue job (raw image + log file). But I used a different software and not ddrescue as you guessed. I used "Active Disk Image" from within Windows platform to clone the raw file which I believe was a "sector-by-sector" clone.
Well, the reason I went with this sorta "awkward" method, is because as far as I know testdisk can't recover from raw image file contained inside a folder on a Linux (ext3) formatted disk. So instead, I used testdisk to "recover" just the folder named "recovery" which has the image + log file residing on 250GB HDD straight to my NTFS formatted HDD or the 3rd disk as we call it.
It seemed logical to me to clone the image file back to the 2nd HDD and then use testdisk on it to recover data. However, testdisk wasn't of any help which forced me to resort to other tools/software for a different/better possibility of recovery.

By the way for your info,the 3rd HDD has actually 2 partitions as well. One is the active boot partition which contains my Win 7 x64 OS and the 2nd one (logical NTFS partition) where my image and log files are resting at ATM, needing recovery.
Quote:
Secondly, the first partition should normally begin at sector 2048.
All right, but I'm not focusing much on recovering the 1st partition (boot partition) as I'm sure I have nothing valuable inside that one...well, unless I see that some of my data have slipped onto the 1st partition due to overlapping.
Quote:
AIUI, the above command line clones physical drive sda to physical drive sdb and writes the log to a file named "image" in the current directory (assuming that ddrescue doesn't complain about the superfluous "log" parameter at the end).
That said, ddrescue's log viewer screenshot would suggest that a file named "log" was in fact created, so perhaps you mis-remembered the command line in your post.
No. I did not misremember what I gave ddrescue to execute, but as I mentioned It might not have been a proper command which I can't remember if that's the case.I'm unable to recreate the outcome of this particular code, ATM.So, I'll assume based on your comment that this is not a valid one...? Also, did you mean "superfluous" as being more ambiguous or rather unnecessary. If I left "log" argument out of the line I could not have interrupted the rescue without starting it all over again,could I? It, also helped me understand where all the bad sectors are located in the platter that it couldn't clone.
Hopefully, it makes your job helping me a lot easier and more focused. BTW, thank you v. much for helping me, so far...
Quote:
The second partition begins at 163842033 rather than 163842041, so this still isn't quite right, but it does suggest that there was a problem with your cloning procedure.
Hmmm....what could it be, I wonder?!!! Cloning procedure...If smth. wrong with cloning there couldn't be any data showing at all on the recovery tree. I can see the references of almost all the files and folders I have stored on that partition. It makes me believe I don't have the right combination of tools and the know-how to brake it...
Quote:
Is there an MBR and partition table in sector 19952081 (= 19954129 - 2048)? If so, could we see it?
Sure!!!Is this what you looking for?


