Home » Hard Disks » Repairing Hard Disk Problems
Jul
07
 

In Part 1 of this article series, I explained some techniques that you could use to combat hard disk problems if the problem in question was related to a physical breakdown of the hard disk itself. However, the vast majority of hard disk failures are software related

Repairing Hard Disk Problems

Brien M. Posey, MCSE

In Part 1 of this article series, I explained some techniques that you could use to combat hard disk problems if the problem in question was related to a physical breakdown of the hard disk itself. However, the vast majority of hard disk failures are software related. In a software related failure situation, the techniques that I shared with you in Part 1 wouldn’t apply.  You must apply a different set of techniques when attempting to recover from a  software related (or logical) hard disk failure. In this article, I’ll explain some new techniques that you can use for doing so.

Before We Begin

Before I get started, I need to explain that the technique that you would use to recover from a logical hard disk problem is highly dependant on the nature of the problem. For example, if a virus were to destroy your master boot record, then you’d use a different repair technique than you’d use if you were trying to recover a lost file. Therefore, in the sections that follow, I’ll explain some techniques that you can use to recover from various types of problems.

Master Boot Record Failure

Before I can really explain how to go about fixing a master boot record failure, you need to know what the Master Boot Record does. The Master Boot Record is a specific location on the hard disk that your system’s hardware automatically reads when you boot the system. The Master Boot Record contains a pointer that directs the system to the boot sector. The reason that your system has to have a Master Boot Record is that depending on the size of your hard drive, the partition structure, and which partition is flagged as active, the boot sector can exist in a variety of places. Therefore, the system needs code that will always exist in the same place (the master boot record) to point the way to the boot sector.

There are a variety of things that can cause the Master Boot Record to fail. One of the most common causes of a Master Boot Record failure is performing a full restore on your hard disk. Some backup programs will restore the contents of the individual partitions, but won’t update the master boot record to point to the active partition. If this (or any other type of Master Boot Record failure) happens to you, there are a couple of things that you can do to recover.

Keep in mind that with the Master Boot Record out of commission, the system won’t be bootable. Therefore, you’ll have to use a boot disk to accomplish the repair. If your system is running Windows 9x, then you can use the boot disk that I showed you how to make in Part 1. Simply boot the system off of the boot disk and use the FDISK /MBR command. If on the other hand, you’re working with a Windows 2000 based system, boot the system from the Windows 2000 boot disks and enter the Recovery Console. When the Recovery Console loads, use the FIXMBR command to make the repair.

Boot Sector Failure

Another common type of failure is a boot sector failure. The boot sector is the file that tells the system which file to begin loading during the boot process. For example, in a Windows 9x environment, the boot sector tells the system to begin loading the IO.SYS file.

The most common cause of a boot sector failure is an infection from a boot sector virus. A boot sector virus replaces your normal boot sector with viral code. Some viruses make a backup copy of the original boot sector at the time of the initial infection. With such viruses, all you have to do to repair the damage is to disinfect the system using a product such as the Norton Anti Virus. Because such products know the behavior of specific viruses they know where the original boot sector was backed up to and can remove the viral code and replace it with your original boot sector (assuming that the original boot sector hasn’t been overwritten.

Of course not all virus authors are kind enough to develop viruses that backup your original boot sector before infecting the machine. With some viral infections, the original Master Boot Record is gone forever. Likewise, boot sector failures aren’t always virus related. In either case, you must reconstruct the boot sector manually, to return the system to its previous state.

There are a couple of different methods that you can use to repair the boot sector. One of the most reliable methods is to completely reinstall the operating system. Of course doing so takes some time and can get a little hairy. Therefore, I recommend trying a couple of shortcuts before you go through the trouble of reinstalling the operating system.

If you’re using a Windows 9x environment, boot the system from the floppy disk that you created in Part 1 of this article series. When the system boots, enter the command SYS C:. In many cases, entering this command will repair the problem and make your system bootable once again. If you’re using Windows 2000, boot the system to the Recovery Console and then enter the FIXBOOT command.

Accidentally Deleted Data

Another common hard disk problem is that needed files may have been accidentally deleted. Normally, when this happens, you’d simply go into the Recycle Bin and get them back. However, if the files were deleted by an application (through an automated script), or if they were deleted through the command prompt, then the files won’t be in the Recycle Bin.

What happens when files are deleted is that the file isn’t actually removed. Instead, the first character of the file name is replaced with a question mark. The question mark tells the operating system not to display the file. Unfortunately, the question mark also gives the operating system permission to use the disk space currently used by the deleted file, to store other files. Therefore, if you want to recover a deleted file that isn’t in the recycle bin, you’ll have to do so quickly, before the operating system overwrites the file.

Older operating systems, such as DOS 6.22 contained a command called UNDELETE w3hich you could use to recover lost files at the command prompt level. The utility simply asks you what the first character of the file name is supposed to be, and then recovers the file. Unfortunately, UNDELETE isn’t included with Windows 9x. However, if you have an old copy of DOS laying around, I have been able to use an old copy of UNDELETE on a DOS 6.22 boot disk to recover deleted files off of a Windows 9x machine. As I’ll explain later, there are also utilities out there that will do this for you.

Cross Linked Files and Bad Sectors

Perhaps the most common hard disk problems are also the most minor. These include things like cross linked files, lost chains, and bad sectors. Any time that you encounter such problems, they can usually be repaired through SCANDISK, assuming that you’re using a Windows 9x environment.

If you’re running Windows 2000 and have a hard disk that’s formatted as NTFS, then you’re not supposed to have these problems. NTFS uses a transaction logging system that keeps common hard disk problems to an absolute minimum. However, even NTFS isn’t perfect. It’s still possible to have hard disk problems, even in an NTFS environment. If you do have hard disk problems in Windows 2000, try using the CHKDSK command to fix the problem. CHKDSK will ask you to reboot your machine and will then correct the problem during the reboot. This process may take some time to complete though, as CHKDSK is very thorough. There’s also a less sophisticated version of CHKDSK that’s included with Windows 9x, but you’re usually better off using SCANDISK.

Of course SCANDISK and CHKDSK aren’t your only repair options. There are a plethora of third party hard disk repair tools out there. When it comes to repairing the more common hard disk problems, I prefer to use Norton’s Disk Doctor. Disk Doctor is included in Symantec’s Norton System Works 2001. In my own personal experience, Disk Doctor tends to do a little bit better of a job repairing common problems than Scan Disk does. It also offers some recovery options for bigger disasters.

The Total Recovery Solution

So far, everything that I’ve talked about has been directed at repairing minor and fairly common hard disk problems. However, you may be wondering what course of action that you should take when the big one hits. For example, what do you do if someone accidentally uses FDISK and deletes a critical partition, or formats a drive full of data.

In the past, your options in such situations have been very limited. There weren’t many tools out there that were up to tackling the task at hand. In a major hard disk crash, or accidental formatting or FDISKing, you were basically at the mercy of the few available tools and your own individual skills. I’ve personally recovered lost data the hard way, but doing so takes several hours and you usually end up losing some of the data any way.

Because of these hellish past experiences, I was very excited to discover a new tool from Winternals software (www.winternals.com). This new tool is called Disk Commander. Disk Commander is designed to help you to recover from all of the really bad types of hard disk crashes and data loss situations.

I normally shy away from whole heartedly recommending a product to my readers. However, like just about everything else that the people at Winternals Software have developed, Disk Commander is worth its weight in gold. Disk Commander does more than just salvage deleted files, it allows you to recover from many different data loss situations that you would normally not be able to recover from. What makes this utility even better is that it works on FAT 16, FAT 32, and NTFS partitions, and will recover data regardless of why it was lost.

Unlike other data recovery tools, the system doesn’t even have to acknowledge a partition’s existence for the software to work. You can literally salvage data from volumes that the operating system can’t access, even if the operating system doesn’t recognize the volume as a valid partition or can’t assign a drive letter to it. The utility also repairs volumes that have been damaged by a virus, or that have been accidentally deleted by FDISK or by the Windows 2000 / NT Disk Administrator. Of course this utility also allows you to recover deleted files that don’t appear in the Recycle Bin, and allows you to unformat a partition to recover from an accidental format. Disk Commander will work even if the system is unbootable. The only situation that Disk Commander is unequipped to deal with is hard drives that contain physical damage (such as would occur from being dropped).

Disk Commander is an absolutely amazing product. License prices start at about three hundred dollars. You can acquire Disk Commander at www.winternals.com

Conclusion

In this article, I’ve explained that the technique that you’d use to recover from a logical hard disk failure is totally dependant on the nature of the failure. I then went on to explain several different techniques that you can use to recover from various types of hard disk problems.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Related posts:

  1. good disk utility programs that can recover, repair or at least deal with a hard driveQuestionDo you know of any good disk utility programs that can recover, repair or at least deal with a hard drive that has bad sectors?  Are there any free downloadable programs out there?  Thank you,Landon  AnswerHi,It is best to use the tools on the operating system first, below is soem accepted wisdom for sector repair. Note: Backup al your work first, if the errors continue to occur, then your have drive issues that will ultimately compromise your data.here are the steps (Both WIndows and Mac described below)...
  2. Format and FDISK a Hard Disk – COMPLETELY WIPE THE DATA FROM YOUR HARD DISKHow to Format and FDISK a Hard Disk Getting Started Before formatting your hard disk you may want to make sure you have a few things covered… Formatting will completely wipe your computers hard disk so make sure you have backups of all personal files you wish to keep on the PC It is likely [...]...
  3. Change Hard Disk Partition or Volume Label NameIn modern advanced Windows operating system, renaming the name or label of the hard disk drive, partition or volume is an easy task, just like how user renames a file or folder. Normally when formatting a hard disk drive or partition volume, user can enter a label for the volume. And, for user who need [...]...
  4. the most common hard disk drive problemsThe Fdisk.exe [FDISK] utility may not be able to create a hard disk partition that is larger than 128 GB - Fixes a problem where Fdisk.exe may not be able to create a partition larger than 128 GB when you try to partition a hard disk that is larger than 128 GB. • Windows Millennium Edition • Windows 98 Second Edition • Windows 98 Standard Edition...
  5. How To Fix My Hard Drive problemsHARD DRIVE MECHANIC - Data Recovery, Hard Drive Repair and Diagnostics Software. Restore a crashed hard drive, recover lost data and bring your dead PC back to life! The Hard Drive Mechanic is the ONLY PC hard drive recovery software designed so anyone can get their PC back up and running in minutes! Diagnose and Repair any crashed Hard Drive with The Hard Drive Mechanic. Fix disk errors and Recover Lost Data with a few simple on-screen menus. The Software will then do all the work by running complex tests, phases, and algorithms which it will use to fix your PC. If you can read, point and click, you can fix your own crashed PC. Our Hard Drive Diagnostics software will tell you what has failed, you Click on the problem to repair it. IT IS JUST THAT SIMPLE. RECOVER HARD DRIVES THAT HAVE BECOME INACCESSIBLE. The Hard Drive Mechanic handles both physical and logical drives so recovering crashed partitions becomes seamless and easy. No computer is too old because this software will work with Windows 95, 98, Me, NT, XP and 2000. The Mechanic also creates rescue disks that allow you to restore the hard drive to its original condition before you used the software, so that there is absolutely no risk to you. The Mechanic Gold Special Edition will Repair: - Disk Boot Failure - Invalid Drive Specification Error - Damaged FAT - An Invalid Media Error - Corrupted Partition - Missing Operating System - Formatted Hard Drive - Virus Damaged File System - Windows 95, 98, Me, NT, XP and 2000 - FAT 32 and NTFS THE HARD DRIVE MECHANIC GOLD SPECIAL EDITION IS THE MOST COMPLETE AND COMPREHENSIVE DRIVE RECOVERY SYSTEM ON THE INTERNET. Before you spend hundreds or even thousands of dollars to recover your crashed hard drive, try The Hard Drive Mechanic FIRST. Backed by a 30 day, 100% Money Back Guarantee, WHAT DO YOU HAVE TO LOSE? Fix crashed hard drives quickly and easily with The Hard Drive Mechanic. ...
  6. Fixing & Repairing windows-xp fastOne of the best kept secrets of Windows XP is its built in repair feature!In previous versions of Windows, correcting an operating system error, or installing a new motherboard, usually meant formating and reinstalling, resulting in loss of all data. Dont worry; Windows XP repair feature wont delete your data, installed programs, personal information, or settings. It just repairs the operating system!Note: The system repair function will remove any updates you have previously installed that are not included on the CD. Drivers will also be reverted to their original XP versions, as well as some settings (network & performance settings may sometimes be reset to their defaults). It may be necessary to reactivate your Windows XP as well. When finished, you will have to download all of the updates from Microsoft Windows Update, because they are all replaced during repair....
  7. How To Prevent Hard Drive ProblemsYou know that a regularly scheduled simple maintenance may help keep your computer in shape and there are plenty of third-party programs to help you keep your computer in peak form. However, Microsoft Windows provides you with a solid toolbox of built-in programs to help you keep your computer in shape. Check out the Windows [...]...
  8. fix messenger problems – update messengerEd Bott is probably my favorite person to read when it comes to covering Windows and other Microsoft software. Today I noticed a little post he had regarding a way to fix Windows Live Messenger in case you find yourself unable to log in. I didn't think much of it, until my wife asked ...
  9. Hiren Boot CD v8.8Hiren Boot CD bir bilgisayar teknisyeni yada en az orta seviye bir kullanıcının acil durumlarda imdadına koşan bir CD. içerisinde program olarak yok yok. Bir açılış CD si olan Hiren in içinde 100 ü aşkın sistem tamir ve bakım programı var. Hepsi dos modda çalışan kendini kanıtlamış programlar. Hiren adında bir hintli tarafından oluşturulan ve sürekli [...]...
  10. 2 drive USB hard disk with RAID 1 or RAID 0 – CES 2009: LaCie Hard Disk MAXMore storage fun announced at CES, this time from LaCie with the arrival of the Hard Disk MAX. I really like the design of a lot of LaCie’s products - there’s something very cool about a relatively staid product looking really well designed and the Neil Poulton-designed Hard Disk MAX is another stunner....
  11. creating only four partitions on my hard driveProblem My hard drive is recognised properly by the BIOS at start-up, shows up properly in the Device Manager and appears in My Computer, but I can only create four partitions with FDISK [used in Windows 98 and Windows Me. Alternatives are the partition programs that can be used from within Windows XP or from [...]...
  12. Unix utilities strip headers, extract parts of binary files – Recover Data From a dead hard driveThe ‘ dd ‘ command is one of the original Unix utilities and should be in everyone’s tool box. It can strip headers, extract parts of binary files and write into the middle of floppy disks; it is used by the Linux kernel Makefiles to make boot images. It can be used to copy and convert magnetic tape formats, convert between ASCII and EBCDIC, swap bytes, and force to upper and lowercase. ...
  13. Windows Vista cannot see second hard diskProblem:  looked through the forums and didnt see this come up, but it might have already been answered. A friend of mine recently upgraded to Vista from XP. He had problems with installing over top of XP, so he finally just did an entire clean install of Vista, but before he did he put all [...]...
  14. Microprocessor Memory RAM or ROMThe previous section talked about the address and data buses, as well as the RD and WR lines. These buses and lines connect either to RAM or ROM -- generally both. In our sample microprocessor, we have an address bus 8 bits wide and a data bus 8 bits wide. That means that the microprocessor can address (28) 256 bytes of memory, and it can read or write 8 bits of the memory at a time. Lets assume that this simple microprocessor has 128 bytes of ROM starting at address 0 and 128 bytes of RAM starting at address 128. ...
  15. Encrypt Harddisk/FlashdiskI have one external USB harddisk that I use for my entire documents backup. I take them with me during travelling but always leave it in my hotel room just in case if I lost or damage my laptop. So basically when I leave it, anyone can find it and plug it in any USB [...]...

571 views

Add reply

 3000 characters available