brent timothy saner on 18 Jun 2017 21:17:44 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Partition Problems.


On 06/19/2017 12:03 AM, Markos Kapes wrote:
> I've got a crashed hard disk. Ext4. I've used testdisk on it to repair; when I use e2fsck on the offsets I still don't seem to get any file structure back. Is there something I'm missing? Photorec recovers data so things are there, it's just fragmentary, especially some sql dumps, so I'd rather try a fullish recovery first. 
> 
> Thanks,
> --Markos

so, couple things. if memory serves, you shouldn't need to (or should at
all) reformat the partition once the disk's partition structure is
restored by testdisk, assuming it fully recovered the partition
structure. you might have damaged the existing filesystem in your
multiple attempts to format the partition.

that being said, photorec should be helpful- you might have to make do
with what it found (though it does only support a limited amount of
filetypes). if you absolutely need more, you can try foremost[0]. if
that doesn't work, scalpel[1]'s going to be your best bet[2]. The
ArchWiki[3] has some more tips (including Extundelete usage as well).


[0] http://foremost.sourceforge.net/
[1] https://github.com/sleuthkit/scalpel
[2] https://www.howtoforge.com/recover-deleted-files-with-scalpel
[3] https://wiki.archlinux.org/index.php/File_recovery

Attachment: signature.asc
Description: OpenPGP digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug