Using ddrescue on Windows Machines – Tutorial

October 14th, 2012 → 6:06 pm @ // 2 Comments

What is ddrescue?

Ddrescue is a recovery tool for rescuing data from drives that have suffered damaged blocks or sectors. Ddrescue is used to create an image of a failing hard drive. Normal disk imaging tools stop when they reach a corrupt portion of a hard drive. Ddrescue, on the other hand, will try multiple times to read the damaged area and then continue on regardless of whether or not it successfully read the damaged portion.

Ddrescue and Windows

Ddrescue only runs in the Linux environment, however, this will not likely prohibit you from using it to image a Windows computer. In order to image a drive, you must not be relying on the operating system found on it. The easiest way to image a drive is via a live CD. Live CD’s are similar to boot disks (remember those?) Live CD’s do not rely on a computer’s hard drive, but instead run off of the operating system found on the CD.

To image a Windows computer, all you need to do is boot the computer from a Linux Live CD and run ddrescue. Later on in this post I will discus how to access the image file that you create from inside Windows.



Ddrescue Tutorials

Using ddrescue can be difficult for those who are new to Linux. Linux gives paths to drives in a much different way than Windows does. In Windows drives are give a letter, such as C: or D:; in Linux they are found at a path, such as /dev/sda. If this lingo is new to you, you may want to follow one of these tutorials.

BootMed Plus Tutorial

BootMed Plus is premium live CD that automates drive imaging, making it a matter of pointing and clicking. BootMed Plus also comes with built in video tutorials. Just click here to see the BootMed Plus video about drive imaging.

BootMed Tutorial

If you are brave and would like to type out a command in the command line interface, BootMed can guide you through it. BootMed comes with online text based tutorials and step by step instructions. Click here to see how to image a drive with BootMed.

Open the ddrescue Image in Windows

Once you have created an image with ddrescue you can open it in Windows and (hopefully) recover files from it. The video below will show you how to connect to the image and access it as if it were a physical hard drive. From there you should be able to access the files on it. To follow the video tutorial, you will need OSFMount, a free tool that mounts raw drive images.

Resources


Tags: , , , , , , , , , , ,

2 Comments → “Using ddrescue on Windows Machines – Tutorial”


  1. Owen

    9 months ago

    I hate to interrupt your important work at the children’s home, so reply as you have the time.

    I am trying to salvage about 900GB of data of a corrupted 2TB external HD. I have tried a couple of different programs to no avail. Now looking at Bootmed live running ddrescue as a last resort.

    I have just spent $1500 to build a home server that has enough capacity to take the image of the corrupted drive. I do not want to purchase another large capacity external HD and I am leary of running this live CD off the server to allow bootmed direct access to the server hard drives. Two questions for you:

    1) Will bootmed see a networked hard drive (as the destination drive) from an XP computer on the network?

    2) Can I run bootmed off a USB drive rather than a CD (does the download come with the right executables to do it)?

    Reply

    • bootmed

      9 months ago

      1 – Neither Bootmed nor Bootmed Plus will see the networked drive automatically. If you are using SAMBA on your networked drive you can mount it by the following these instructions: http://askubuntu.com/questions/137011/how-to-mount-a-samba-shared-folder-ubuntu-x-ubuntu (check out the first answer).

      2 – You should be able to boot Bootmed off a USB. Just go here and download this program:
      http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

      The next part is a bit tricky. The universal usb installer relies on the file name to determine what type of linux it is installing to the USB. Bootmed is built on ubuntu desktop 10.04, so you will need to rename the BootMed file accordingly. When you select Ubuntu Desktop 10.04, it should show the proper file name below.

      I hope that helps!

      Reply

Leave a Reply