Hard disk failure imminent!
A couple of weeks Windows 7 informed me that my hard disk is failing, and that I should back up immediately. Skeptical of Windows messages about things like this, I decided to run Spinrite on the disk. After making a backup with Carbonite.
Apparently I should have not done that. The better course of action would have been to copy the whole hard disk to a new one, and then run Spinrite on the old disk.
By doing this, I apparently pushed the disk just enough so it ran out of spare sectors for relocating bad tracks. I found this out after I got a new 1TB disk, placed it in the same computer, and tried to copy the old disk to the new disk.
Copying the disk turned out to be an adventure as well. At first I tried to do it the old fashioned way: boot in Linux, and run a dd from the old disk to the new disk. This works great on working disks, but failing disks disrupt the dd command…
Finally I ran across CloneZilla and tuxboot. Tuxboot is actually a great utility that lets you turn a CloneZilla Live, DRBL Live, GParted Live or Tux2live installation into a bootable USB or DVD disk, without too much thought. CloneZilla is the open source equivalent of Norton Ghost.
After downloading tuxboot and selecting the CloneZilla Live installation, the download quickly completed and I now had a USB stick to boot from. Taking it back to the PC with the failing hard drive, reboot, and voila, CloneZilla.
CloneZilla has a lot of options, and there are great step-by-step instructions available here. I chose the disk-to-disk clone option, and after tweaking the options a bit, was able to recover most of the hard disk. There were a number of clusters that CloneZilla complained about not being able to recover, but it seems they are not in any files that I use on a regular basis.
Lessons learned from this:
- Make sure you always have a backup. I use Carbonite, but there are several other great options out there.
- Use Spinrite for maintenance, and not for diagnoses. It may work in the ultimate attempt for recovery, but it’s better to know in advance your disk is failing, than to be notified by Windows and then scramble around.
- Don’t use the disk that is failing, get a duplicate disk as soon as possible, and use CloneZilla to copy your whole installation.