Trouble-shooting Hard Drive Problems - Part 1

It is extremely important not to make or write any changes to data on the hard drive without first verifying the hard drive configuration. Therefore, the first priority when unable to access information on a hard drive is to verify all of the configuration information dealing with the suspect hard drive.

Partition Parameter
Value or Equation

Partition Status
Bootable

Starting Head
1

Starting Sector
1

Starting Cylinder
0

Partition Type
Bigdos (drives greater than 30 MB), otherwise DOS 12

Ending Head
Total Number of Heads -1

Ending Sector
Sectors per Track displayed in Volume Boot Sector

Ending Cylinder
Number of Cylinders set in CMOS - 2

Total # of Sectors
Number of Sectors displayed in Volume Boot Sector

Start Absolute Sector
Number of Sectors per Track in Volume Boot Sector

Boot Signature
55AA

Step One: Make sure that Micro-Scope detects the hard drive

In Micro-Scope, System Configuration, Compare Settings - check to make sure that there is not an asterisk beside the number of hard drives detected value. If there is an asterisk, either the CMOS is set incorrectly, or there is an electronic problem (controller, cable, drive).

Step Two: Compare the BIOS parameters against the drive partition information.

In Micro-Scope, System Configuration, System Information - note the information displayed for the hard drive, specifically the parameters for the drive in question. Compare these parameters to the parameters in the MBR display under Micro-Scope, System Configuration, Partition Display using the following formula:

System Information
Master Boot Record

Cylinders
Ending Cylinder + 2

Heads
Ending Head + 1

Sectors
Sectors Per Track

If the information does not match, either the partition information is corrupt, or the CMOS setup or controller BIOS setup (if one exists) is incorrect, or there is a problem communicating with the drive.

Step Three: Check the drive functionality

In Micro-Scope, Diagnostics, Fixed Disk Tests - check the information in the Fixed Disk Selected window. Make sure that the proper drive type, model, and native parameters are showing in this window. If any of the information is incorrect, there is an electronic problem. Check the cable, controller and drive, re-seating all connections, and repeat the above procedure. After correcting the electronic problem, perform a read test on the first 10 cylinders of the drive. If any errors occur, then this is the most likely cause of the drive failure. Perform a read of the entire drive to determine if the errors are electronic in nature, or physical in nature. Electronic problems will result in the errors displayed not always being the same type or in the same location on the drive. If the problem is electronic, replace the cable, controller, and finally drive electronics and repeat the read test until no errors occur. If the error is physical, use an INT 13 type editor (such as Norton Advanced Editor), to block the entire drive and write the information to a daisy chained drive set to the same parameters as the faulty drive.

The next step, after the drive passes the read test on the first 10 cylinders, is to check the original partition setup of the drive.

Step Four: Check for the physical location of the master boot sector and the volume boot sector.

In Micro-Scope, Utilities, Fixed Disk Editor - use the FIND feature to search the last two bytes of each cylinder for a boot signature (55 AA). The first location where a boot signature should be found would be at cylinder 0, head 0, sector 1 (the master boot sector). The second location where a boot signature should be found is at cylinder 0, head 1, sector 1 (the volume boot sector). It is also possible to use the FIND feature to locate the volume boot sector by searching for MSDOS (in DOS based systems) or MSWIN (in Windows95 systems).

If there is a duplicate copy of the master boot sector found before the location of the volume boot sector, then it is possible that a boot virus has infected the hard drive in the system. The Rebuild Master Boot feature of Micro-Scope will eliminate any boot sector virus. Be sure to boot the system to the Micro-Scope diskette and immediately do a cold reboot of the system after using the Rebuild Master Boot feature.

If the volume boot sector is found in a location other than cylinder 0, head 1, sector 1, count the actual number of sectors before the volume boot sector, and compare that value to the value for the sectors per track displayed in the partition table described in step 2. If the values match, the most likely cause of the system failure is an incorrect CMOS setup. In this case the CMOS needs to be reset to the values indicated by the partition table described in step 2, remembering to use the formula described in step 2 when doing so. If the values do not match, set the CMOS Sectors Per track to the number of sectors counted before the volume boot sector and continue to the next step.

Step Five: Check the partition tables to make sure they are correct

Reboot the system to Micro-Scope and go to System Configuration, Partition Tables. Check the information displayed in the master boot record to see if there is any obvious corruption (that is, excessively large numbers, all partitions non-bootable, etc.) If there is no obvious corruption in the master boot record, then perform step 2 again. If the information matches at this point, go to step 6. If the information does not match, then set the sectors per track in the Master Boot Record to the number of sectors per track currently set in CMOS, set the starting head to 1, starting sector to 1, and starting cylinder to 0, and write the information to the drive.

Step Six: Verify the Master Boot Sector information

Display the Volume Boot Sector and use the values for heads and sectors per track (on the right half of the screen) to perform step 2 again.

If the values match, then the volume boot sector is probably okay. If any values in the Master Boot Record do not match the table to the right, reset the values to match the values in the table, and write to the drive.

If the values still do not match, both the Master Boot Record and the Volume Boot Record are probably corrupt. At this point, e-mail Technical Support for help in this situation. Future articles will provide more insight into the repair procedure.

Step Seven: Check the FATs

Check to see if the first FAT starts on the sector just beyond the volume boot sector. Use the find feature in the Fixed Disk Editor to search for F8 FF FF in the first three bytes of each sector. The first occurrence should be on sector two of head one. Continue to search until the second FAT is found, indicated by the second occurrence of F8 FF FF. Note the location of the cylinder, head and sector of the second FAT.

Based on the start of the second FAT, and the start of the first FAT, calculate how many sectors are in the first FAT. If necessary, read each sector starting at the first sector of the first FAT, keeping a count of the sectors that have been read until F8 FF FF is seen in the upper left of the HEX display, which would indicate the start of the second FAT. After calculating the sectors per FAT, compare this value to the value in the volume boot sector. If the values match, the drive should be accessible through DOS at this point.

Step Eight: Attempt to access the drive

Boot to a DOS-bootable floppy diskette and attempt to access the drive. If the root directory and sub-directories on the hard drive are readable at this point, then attempt to boot to the drive. If the drive boots at this point, the problem has been corrected. If the drive is still not bootable, e-mail the Micro 2000 Technical Support department for help.

Disclaimer - The Micro 2000 Tech Tip is a free service providing information only. While we use reasonable care to see that this information is correct, we do not guarantee it for accuracy, completeness or fitness for a particular purpose. Micro 2000, Inc. shall not be liable for damages of any kind in connection with the use or misuse of this information.

Micro 2000 Inc has been helping to solve the day-to-day challenges that IT departments face in order to keep their businesses operational as well as profitable for over 14 years. The company's primary goal is to put the customer first - through feature-rich, simple-to-use IT tools that can help IT administrators manage their jobs more effectively.

For more advice and free articles be sure to visit: http://www.micro2000.co.uk

In The News:


pen paper and inkwell


cat break through


Quality Recovery and Rework - When It All Goes Wrong

When Quality is the Target, but not the Result, what... Read More

Small Computers

Today, small form factor computers demolish the myth that bigger... Read More

What is Blu-Ray DVD

Video technology has increased significantly over the past years, and... Read More

How to Choose The Right Laptop Accessories?

The notebook computer is coming of age. For the first... Read More

USB Hubs and Ports Explained

The USB standard has become the universal means of connection... Read More

10 Things to Ponder Before Moving Your Office Network

Moving the office network? How hard could it be? Anybody... Read More

How to Read Zener Diode Code

Many technicians are confused on how to really read a... Read More

Computer Parts Online

In today's age, building computers on yourself is often chosen... Read More

Wireless Notebooks: What You Need To Know About Going Wireless!

It's not exactly breaking news that our world is becoming... Read More

When Good Color Goes Bad...

Even with the popularity of digital technology, and the availability... Read More

Wireless Networking, Part 1: Capabilities and Hardware

Wireless Networking, Part 1: Capabilities and HardwareThese days it isn't... Read More

Do You Have Dead Pixels?

Take a good look at your notebook computer screen. Do... Read More

All In One Printers ? Home Office Workhorses

All in one printers, also known as multifunction printers (MFPs),... Read More

Testing a Transformer- How To Accurately Test A Transformer

There is two types of transformers in the market- linear... Read More

Dell Inspiron 600m Notebook Computer

After twelve years of owning desktop computers, I finally opted... Read More

Motherboard Basics

A recent Tech Tip covered the basics of selecting a... Read More

Whats In An LCD Display?

Who needs an LCD display? Well, if you're like me,... Read More

Is A Laser Printer Right For Me?

The average home computer user definitely does not need a... Read More

RAM - What is It & Why You Need Plenty

This is the first article in the Understanding Your Computer... Read More

Printers: What Really Happens When You Hit ?Print?

You just poured hours upon hours into a lengthy research... Read More

Lock Workstation Fast

When you work in an office, it's important to lock... Read More

Using System Restore to Save Yourself from Formatting Your Hard Drive

It is the most annoying thing when one day you... Read More

How To Format A Hard Drive

Here's how to format a hard drive (Legal Stuff: We... Read More

Testing Diode -The Accurate Way on How to Test Semiconductor Diode Using Multimeter

Testing diodes is different from testing a resistor because you... Read More

Advanced Tips on Speeding Up Your PC

Other then keeping your HDD free of viruses, spyware, and... Read More

Generation Laptop

In May 2005 U.S hardware history was made.This was the... Read More

Printer Cartridge Economics -- Four Ways To Make Your Ink Last Longer

Printer cartridge overheads can be a major expense for any... Read More

How To Buy The Perfect Student Laptop

If you are like most student's, money isn't exactly growing... Read More

Throw Away The Fax Machine ? A Guide To Online Fax

Have you ever felt like throwing the fax machine out... Read More

Flash Your ATI Video Cards BIOS

Flash your ATI video card BIOS.You will need the following:1.... Read More

Video Encryption

What is Video Encryption?Video Encryption is an extremely useful method... Read More

3 Easy Step To Locate A Real Bargain On Laptop Batteries

Looking for a real bargain on laptop batteries? How do... Read More

The Constantly Changing World of Inkjet Technology

We have finally advanced to a time when technology can... Read More