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


Digital Camera Prints - Getting the Most for Your Money

Digital cameras have really taken off in popularity in recent... Read More

When Good Color Goes Bad...

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

Tips To Select Proper Hard drive

Day by day computers are getting advanced. Capacity and performance... Read More

Intel Celeron vs Pentium

The Celeron and Pentium Processors are two of Intel's best... Read More

Used Laptop Computer: Your Quick Purchase Inspection Guide ? Part 2

Used laptop computers are everywhere these days. How can you... Read More

Buying a Refurbished Dell Laptop

Dell offers a full line of refurbished laptops on their... Read More

A Guide to Refurbished Laptops

Computing freedom, independence, and mobility don't have to come with... Read More

How to Read Zener Diode Code

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

Setting up a Network -- Wired or Wireless?

To Wire or Not to Wire Wireless networks... Read More

Testing Capacitor-How To Test A Capacitor When Breakdown Under Load

Have you ever come across power problem where once you... Read More

What is ESR Meter?

All capacitors have a certain amount of resistance to the... Read More

Special Events Recording in DVD Players Age

The proliferation of portable DVD players has dramatically changed the... Read More

How To Troubleshoot DVD Drives Fast

You really enjoy those dvd movies and games and the... 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

Learn to Find Cheap Laptop Computers on the Internet

Cheap laptop computers are coming to a store near you.... Read More

How to Avoid Getting Ripped-Off When You Purchase A New Printer

It's no big secret that printer companies like HP and... Read More

How To Stop Junk Faxes From Wasting Your Paper and Toner

Junk faxes waste the resources of every business. It is... Read More

Buying / Selecting Computer Components

This is the step takes the most time and consideration.... Read More

SED is Coming

One of the bigger challenges facing display manufacturers is to... Read More

Lock Workstation Fast

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

Nvidia Geforce 7800 GTX Review

Nvidia has done it again, with it's newest video card,... Read More

Be Free with Wireless Speakers

Are you tired of laying wires through your house, creeping... Read More

A Short Introduction to Blu Ray

Blu ray is a next generation optical media format developed... Read More

What Tablet PCs Can Do for You

Tablet PCs are great. If you are a mobile person,... Read More

10 Things to Ponder Before Moving Your Office Network

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

The Importance Of Current Sense Resistor In Switch Mode Power Supply

Current sense resistor is usually located in the switch mode... Read More

Power Protection in the Home Theater - Use of Surge Suppressors to Guard Expensive Electronic Gear

Surge Suppressors ? A First Line of DefenseAll home theater... Read More

The Constantly Changing World of Inkjet Technology

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

ABCs Of DVD Drive Abbreviations

The number of different formats available in DVD drives can... Read More

Getting to Know Inkjet Printers

Inkjet printers were born in the 1980s, replacing the popular... Read More

Moving to a New PC

Getting a new PC is exciting and a pain. It's... Read More

Testing Flyback Transformer - How to Test and When to Replace It

Nowadays, more and more monitor comes in with flyback transformers... Read More

TiVo: An Introduction for the Few Who Dont Know Yet

TiVo will change your life... for the better. Plain and... Read More