Hi Shehab.

To use Testdisk, you don't mount the image.  If you could mount it, why would 
you need to run Testdisk?

cd (directory where the image is)
sudo testdisk image.

That's it.  If it can find partitions, have it write and fix the partition 
table, then try to mount the filesystem on one of the partitions:

cat /proc/partitions
sudo losetup /dev/loop1 image
cat /proc/partitions
(if you see /dev/loop1 along with /dev/loop1p1 or something like that, then try 
to mount them)
mkdir mnt
sudo mount /dev/loop1p1 mnt


Also, if photorec could not find your powerpoint file, then I would not get 
very excited about the files foremost found.


Regards,

Andrew Zajac

--- On Tue, 10/19/10, Shehab Kazi <[email protected]> wrote:

From: Shehab Kazi <[email protected]>
Subject: Re: [Bug-ddrescue] Proceeding further after running ddrescue .
To: [email protected]
Received: Tuesday, October 19, 2010, 5:25 AM

Hi Andrew!

I appreciate your timely advice. I couldn't get to the stage where I could run 
Testdisk because I wasn't able to mount the image. Photorec however recovered 
the files (about a 108), though the integrity of the files is questionable. I 
was told that there was a powerpoint presentation on the disk (among other 
types of files), it seems to have recovered 'a' .ppt file but it contains only 
one slide. I had selected an option in Photorec that saves broken files as well 
(or something to that effect that I can't remember now). 
I then also used Foremost, which has recovered about 5300 files, it created 
directories of the various file types. And under the .ppt directory I see a 
long list of .ppt files. I haven't had the time to look through them yet but 
I'm assuming these are fragmented bits and pieces of one ppt presentation?

Best wishes,Shehab.
On 18 October 2010 18:44, andrew zajac <[email protected]> wrote:




Hi Shehab.

First, I would make a backup of the image.  Then I would try running Testdisk 
on the image, to see if it can find and restore any partitions.

If that fails, of if the newly recovered partitions are still unmountable due 
to filesystem corruption, I would use Photorec (included with the Testdisk 
package) to try to carve files form the image.



That's it...

Andrew


--- On Mon, 10/18/10, Shehab Kazi <[email protected]> wrote:



From: Shehab Kazi <[email protected]>
Subject: [Bug-ddrescue] Proceeding further after running ddrescue .
To: [email protected]


Received: Monday, October 18, 2010, 7:08 AM

Hi!
I have a 'corrupt' 4GB usb
 memory stick that Windows says needs to be formatted. Linux (Debian Lenny) 
recognises it as /dev/sdc but will not mount it giving a very general mount 
error.

I was able to run 'dd' without any problems and made an image backup. I then 
ran 'ddrescue' as well to make another image without any problems (though I'm 
not sure if it was even necessary to run 'ddrescue in my case). So maybe the 
data itself is fine but only the partition table is corrupt?



When I had tried to run 'testdisk' on the memory stick, it returns saying that 
it can't find any partitions on the drive. I read some posts on this forum 
about trying to use data carving tools on the image like 'foremost'. I will try 
that when I get home but was wondering if someone has some more advice on how I 
should proceed. I need to access/rescue the files that are stored on the image 
created with ddrescue/dd.



Any help will be appreciated. I understand that ddrescue is doing its job and I 
need help with what to do with the rescued image.
Best wishes,Shehab.

-----Inline Attachment Follows-----

_______________________________________________
Bug-ddrescue mailing list
[email protected]


http://lists.gnu.org/mailman/listinfo/bug-ddrescue





-----Inline Attachment Follows-----

_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to