Debian newbie needs help installing dd_rescue

Onceler

Golden Member
Feb 28, 2008
1,262
0
71
I am trying to install and run dd_rescue from a CD I made with my Win7 PC. I got both the .tar and the uncompressed directory on the CD. My Debian PC does not have internet access so this is the only way.
I have tried installing it by using these directions in Debian:http://www.debianadmin.com/recover-data-from-a-dead-hard-drive-using-ddrescue.html
I got to the Debian version of command prompt and typed in #apt-get install ddrescue and also tried #apt-get install dd_rescue
I can browse the CD and Debian sees the files but just does nothing with them.
How do I get it to install and what do I do after it is installed?
This is related to this thread: http://forums.anandtech.com/showthread.php?t=2353086
This is my last glimmer of hope to try and rescue some videos of my daughter and her dog whom was with us but a short time.
Thank you
 

lxskllr

No Lifer
Nov 30, 2004
59,108
9,541
126
It looks like dd_rescue isn't in the repos. The options I get are...

gddrescue
Code:
The gddrescue tool copies data from one file or block device
(hard disc, cdrom, etc) to another, trying hard to rescue data
in case of read errors.

gddrescue does not truncate the output file if not asked to.
So, every time you run it on the same output file, it tries to
fill in the gaps.

The basic operation of gddrescue is fully automatic. That is,
you don't have to wait for an error, stop the program, read the
log, run it in reverse mode, etc. If you use the logfile
feature of gddrescue, the data is rescued very efficiently (only
the needed blocks are read). Also you can interrupt the rescue
at any time and resume it later at the same point.

Automatic merging of backups: If you have two or more damaged
copies of a file, cdrom, etc, and run gddrescue on all of them,
one at a time, with the same output file, you will probably
obtain a complete and error-free file. This is so because the
probability of having damaged areas at the same places on
different input files is very low. Using the logfile, only the
needed blocks are read from the second and successive copies.

The logfile is periodically saved to disc. So in case of a crash
you can resume the rescue with little recopying. Also, the same
logfile can be used for multiple commands that copy different
areas of the file, and for multiple recovery attempts over
different subsets.

gddrescue aligns its I/O buffer to the sector size so that it
can be used to read from raw devices. For efficiency reasons,
also aligns it to the memory page size if page size is a
multiple of sector size.

Please note that this is the GNU ddrescue version providing the
ddrescue executable. The package is named gddrescue because the
ddrescue version of Kurt Garloff used to have the ddrescue
package name already.

myrescue
Code:
myrescue is a program to rescue the still-readable data from a damaged
harddisk. It is similar in purpose to dd_rescue, but it tries to quickly get
out of damaged areas to first handle the not yet damaged part of the disk and
return later.

You can also download PartedMagic. burn it to a cd, and boot to it. That's become payware, and if you want to buy it($5), you can get it here...

https://partedmagic.com/

It really is worth the money, and the guy puts a lot of work into it, and relies on it for his income. If you really don't have the money, you can download it here...

https://thepiratebay.sx/torrent/9112534/Parted_Magic_2013_09_26

Which is authorized in accordance with the gpl. It really is worth the money though.
 

jolancer

Senior member
Sep 6, 2004
469
0
0
another free alternative linux live boot disk that already contains all the tools that were refered to in your other thread: http://www.sysresccd.org

I'm curious to know how it turns out... How might you be planning on doing this? ddrescue the entire drive to clone it to one of the same or larger capacity? and then trying GPT fdisk again to see if it can properly recover the GPT table from the clone? because you mentioned in your other thread the entire drive is encrypted, im guessing your encryption app won't beable to recognize anything untill the partition table is recovered?
 

Onceler

Golden Member
Feb 28, 2008
1,262
0
71
yes I plan to copy my 2TB drive which has the problem to a 3TB drive and try to repair the copy.