Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-09-2014, 10:41 AM   #1
Registered: Jul 2006
Location: Lidingo, Sweden
Distribution: Kubuntu
Posts: 54

Rep: Reputation: 1
Recover files after running ddrescue

I run ddrescue on a bad disk and saved the two partitions
to another disk as file 'name1.img' and 'name2.img'.
How can I recover the files from that partition to a
readable form for e.g. Open Office Writer. Fedora 14, 32 bit.
Thanks in forward
Old 05-09-2014, 10:44 AM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,290

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
i've had good luck with photorec.
Old 05-09-2014, 10:56 AM   #3
Registered: Sep 2010
Distribution: Fedora, Android, CentOS
Posts: 91
Blog Entries: 2

Rep: Reputation: 21
You can mount the partitions as loop devices.
Assuming the command to make the images was something like:
ddrescue /dev/sdb1 ./name1.img ./name1.log
ddrescue /dev/sdb2 ./name2.img ./name2.log
Then you should be able to do something like
mkdir name1 name2
mount -o loop,ro name1.img name1
mount -o loop,ro name2.img name2
Now you can just browse into these using 'cd' or a graphical file browser and copy out what you want.

If the images fail to mount then performing a fsck might get the data readable (probably best to back up the images before doing this).

Photorec is also a good suggestion from schneidz (see above). Foremost and scalpel can also be used although if the ddrescue went well it shouldn't be that hard.

Best of luck to you.


ddrescue, recover

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] (Ubuntu) How to recover files I deleted now by running rm *? ravisingh1 Linux - Software 5 11-16-2013 02:42 AM
ddrescue running slow after 1TB turkvu Linux - Software 7 09-16-2013 07:41 PM
How to recover data from a broken hard drive (ddrescue)? lshantz Linux - Newbie 15 02-11-2013 08:59 PM
ddrescue and moving files help PiZZLE Linux - Software 9 03-13-2007 08:19 PM
LXer: Recover Data From a dead hard drive using ddrescue LXer Syndicated Linux News 0 11-28-2006 02:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration