Linux rescues a failing hard drive
- TAGS:hard drives, Linux, SpinRite, Windows
- IT TOPICS:Laptops & Netbooks, Storage Hardware
Over Thanksgiving, I had to deal with a Windows XP laptop, belonging to a relative, that blue screened during startup. Normal startup failed, as did safe mode, safe mode with command prompt and Last Known Good.
The first question that always needs to be answered in these situations is whether the problem is hardware or software. To that end, I booted the computer using my favorite rescue disc, the Ultimate Boot CD for Windows (UBCD4WIN).
The CD started, from the main menu, I chose to run UBCD4WIN, but it eventually hung on a totally blank screen.
Among the other utilities on the Ultimate Boot CD for Windows is the Rescue Console. This too failed to boot. It got to the point of examining the hard drive and hung.
Clearly this was a hardware problem. The next step should be Steve Gibson's SpinRite, but I wasn't home and I'm not in the habit of traveling with my SpinRite CD.
I do travel with a copy of Linux on a USB flash drive, but the computer was too old to boot off a USB connected device.
So I removed the hard drive from the laptop and took it home. That the hard drive rattled when shaken did not make me optimistic.
A full diagnosis with SpinRite requires the hard drive to be internally connected to the computer. But I didn't need a full diagnosis, or a repair, I just needed to copy some files off the drive.
So, rather than open one of my computers and install the failing drive internally, I connected it to a USB port using a special cable that I keep around for just this purpose.
At first I connected it to an XP machine and ran disk manager (Control Panel -> Administrative Tools -> Computer Management -> Disk Management). It saw the hard disk and that it contained two partitions. Unfortunately, it thought the big partition, the C disk partition, was unformatted. Partition Magic saw that the C disk partition contained the NTFS file system, but its file browser saw no files at all.
Next, I connected the hard drive to the USB port on an Asus Eee netbook running Eeebuntu and booted the system. Lo and behold, Eeebuntu was able to see all the files on the drive. I plugged an external hard drive into another USB port on the netbook and commenced copying files.
If at first you don't succeed ...



