Recovering files from ext2/3

Nathan Schwarz nathan at notwhite.ro
Thu Sep 18 17:42:11 UTC 2014


Unmount the partition, `debugfs $partition` and then `extract
$fileOnDamagedFilesystem $targetFileOnExternalFilesystem`. That should
do it - but you should check the man-page since I can't recall if it was
exactly that.

- Nathan

-- 
/"\  ASCII Ribbon Campaign
\ /  - against HTML emails
 X   - against proprietory attachments
/ \  http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

On 09-18/11:37, jd1008 wrote:
> Is there any other tool that can extract files from a partition that
> seems to have corrupted superblocks?
> I tried dumpe2fs, and fsck -b <blockNumber>
> to no avail. Tried all available block numbers that are listed
> when original mkfs was done, and it's output was saved.
> 
> None of the blocks seem to work - all of them have invalid magic.
> 
> When I run strings on the partition, I see many
> readily recognizable strings of files that I stored there.
> 
> I understand that possibly the fs might be irretrievably corrupted,
> but wanted a last ditch input from other fs gurus.
> 
> 
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


More information about the users mailing list