Data Recovery in Linux

# sudo apt-get install ddrescue

Connect the disk whose data is to be recovered to the computer.

# sudo dd_rescue /dev/sdb diskimage.img
# mount -t ext3 -o loop diskimage.img /mnt/tmp

/dev/sdb will vary depending on the devices connected on the computer.