How to Recover Data from Corrupt Harddrive in Linux


Author: quidsup
19244 View
9m 0s Lenght
332 Rating


Tutorial on how to successfully recover data from a Severely Corrupted hard drive in Ubuntu Linux using Testdisk and Photorec. A “professional” repair shop attempted recovery of data from this Windows Laptop drive, but failed. Using Testdisk in Linux I recovered about 70% of the drive. (Could have been more, but it was crippling my system and running horrifically slow) sudo apt-get install smartmontools sudo apt-get install --no-install-recommends smartmontools Find out drive number with GUI tools, Gparted, or “fdisk -l” sudo smartctl -a /dev/sdx sudo testdisk /dev/sdx Take a backup image if you have enough disk space spare on your system sudo photorec image.dd (or /dev/sdx) find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) -exec cp '{}' /destination/ \; Wallpaper: http://quidsup.net?i=NeonPacman


Comments

  1. No partitions found when i run testdisk?any help please. also getting a lot of input/output errors in dd_rescue
  2. HELP HELP HELP while installing ubuntu i clicked on delete data and now
    my whole harddrive is formatted and all the partitions are removed
    please help me how can i get my data back
  3. hey quidsup can u help me I hv a serious prblm with my laptop hard disk
  4. just stumbled upon your channel and quid you're awesome! I don't understand how you don't have a bigger fan base. I will be showing my friends your channel! you make everything much more understandable. cheers man!
  5. How much time is this method going to take if I've got a nearly dead my passport 1 tb?
  6. what about music and video?
  7. Excellent video pal. cheers.
  8. hello can i mount the image.dd in some directory like in another external hard drive?thre reason behind is because i'm trying to recover data from 2TB corrupted external hard drive
  9. Helo, r-studio recuva and encase 4.2 is better for recovery filea/ jpg? or is the same like photorec?
  10. thank you so much, you are the best! ;)
  11. Oh... how I remember DOS many years ago, very simple just to load a prog.. then later trying to bring in a bot from a friends computer to an IRC channel 10 years ago gave me the sweats.. now this just scares me because I don't understand it.. all those instructions mean something in plain language.. it would be good if someone would define them.. If you know what they mean, you can understand better and remember them and what they do.. an old granny just saying ;)
  12. Hello, great tutorial!. thanks. Please, could you help me ?
    I already try recover from a Windows machine, but no sucess
    I got these error message executing command below:
    sudo ntfsfix /dev/sde
    Mounting volume... ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
    Record 0 has no FILE magic (0x0)
    Failed to load $MFT: Input/output error
    FAILED
    Attempting to correct errors... ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
    Record 0 has no FILE magic (0x0)
    Failed to load $MFT: Input/output error
    FAILED
    Failed to startup volume: Input/output error
    Checking for self-located MFT segment... ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
    OK
    ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
    Record 0 has no FILE magic (0x0)
    Failed to load $MFT: Input/output error
    Volume is corrupt. You should run chkdsk.
  13. If you need the files just get a quote from data recovery guy.com, they're pretty cheap or some other data recovery company
  14. Nice tutorial Quidsup ... best i have seen........... I use these recovery tools quite often . But GeeZus it irritates me how you lose ALL file names.

    I recently recovered 93,000 + photo's , 200+ movies  and over 500 short home video's .................32 hrs to recover it all ......... over 9 yrs of a family's  life, for a little ol Granny.  It was both a case of Happiness and joy at having gotten the photo's back ................ And stress and anguish coz the poor ol dear didn't know what to do next. How do you put them back into folders and photo albums. ALL the info that was with them is gone. She mentioned that it would take her years to get it all sorted
    And some types of movies get broken down into their VOB sections ..............you try putting them back together !!!     especially when there are no file names

    surely someone out there can improve this wonderful software further
  15. I had to do an emergency backup of an SD card containing a RPi image, using a Windows machine as the card was required for something ASAP. Turns out the image was corrupted and I lost some very important data. I can't mount the file at all on any of my linux machines.

    Could I use this tool to obtain data from an .img file?
  16. Hey quids Im trying to conect the harddrive to the computer with a SATA to USB cable adapter but Its not being recognized any suggestions, I bought a product similar to this one : https://www.youtube.com/watch?v=ZS-xTR7Puu8
  17. hey there,
    i use testdisk when pushed it's quite useful.
    as for the file naming well that is another matter.
    i did toy with the idea of writing a script to pull the info from the doc and rename them - using.... another utiliy (fileprop?)... wonder if you'd thought of that.

    in the meantime - another good vid - thanks.
  18. If you want to move all files with jpg OR jpeg OR png extension, then the command find should be:

    find . -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) -exec mv '{}' ../dest/ \;

    Thanks for your interesting videos. :)
  19. Good video :) , but for some users could be more effective and comfortable to use PhotoRec Sorter ;)
    Link: http://www.cgsecurity.org/wiki/After_Using_PhotoRec
  20. Great video ivan, very helpful, you de man.