Troubleshooting Drive Preparation Problems

 <  Day Day Up  >  

Hard drive preparation is one of the major upgrade tasks of a computer technician. Review this section to prepare yourself for troubleshooting questions on the A+ Certification Exams and to improve your skill in day-to-day troubleshooting.

Troubleshooting Drive Preparation Problems with Fdisk

Fdisk can be used to troubleshoot BIOS configuration and compatibility options with ATA/IDE drives . Some of these options work only on a drive that's already been partitioned with Fdisk. Consequently, if you are concerned about BIOS issues, use the Fdisk defaults to prepare the drive; you can always delete the primary partition and start over again if you have problems.

LBA Mode Troubleshooting

You can use Fdisk to determine problems with either the LBA configuration of the system BIOS or with support for enhanced Int13h functions.

SeeFigure 15.19: It shows you how to compare the Fdisk values marked A and B with each other and with the rated capacity of a hard drive to find configuration problems with your system.

Figure 15.19. If the values listed for A and B don't match each other, as in this example, or don't match the drive capacity, you have a problem with BIOS configuration.

graphics/15fig19.gif

If the value for A on your system lists the full capacity of the drive (greater than 504MB), but the value for B lists the drive capacity as only 504MB, the drive was prepared with LBA mode enabled in the BIOS but LBA has been disabled since the drive was prepared. The drive cannot be used at full capacity until LBA mode is enabled, and it will not be bootable if it is the primary or sole drive on the system.

If both A and B indicate the drive is only 504MB, but the actual capacity of the drive is larger, LBA must be enabled in the system BIOS before the drive is prepared.

To restore proper operation in either case, restart the computer, activate the system BIOS setup program, and enable LBA mode. Save the setup changes and restart the computer. Both A and B should display correct values for the drive. For more information about LBA mode, see Chapter 14.

The Disk Management feature in Windows 2000 and Windows XP can recognize a disk at full capacity whether LBA mode is enabled or not. However, LBA mode should be enabled in the system BIOS to maintain compatibility with all Windows versions.

Enhanced Int13h Troubleshooting

If A and B both indicate your hard drive's capacity is 8,064MB (7.88GB) but the drive has a larger rated capacity, this indicates the system BIOS supports LBA mode, but not the Enhanced Int13h functions needed to support drives beyond 7.88GB. Choose one of the following options for a solution, in order of desirability, best to worst:

  • System BIOS upgrade if the upgrade supports Enhanced Int13h

  • Add-on IDE host adapter card with its own BIOS that supports Enhanced Int13h

  • Hard disk BIOS replacement software that supports Enhanced Int13h (supplied by the drive maker)

caution

graphics/caution_icon.gif

If your system can't format the hard disk at full capacity, don't make any changes to the hard disk until you make one of the changes listed in this section. If you create a partition and then install a BIOS upgrade or other feature to handle the drive's full capacity, you will need to remove the partition you created (and lose any data on that partition) before you can create a partition using the full size of your hard disk.


Troubleshooting Hard Disks You Can't Partition

If you create partitions but the Format program reports that the drive letter(s) you need to format aren't present, your system might be configured to write-protect the boot sector of the hard disk.

Restart your computer, start the BIOS setup program, and look through the BIOS setup screens for an option called Write Protect Boot Sector or Antivirus Boot Sector . If this option is enabled, disable it, save the changes in the system BIOS setup, and retry Fdisk.

Note that many recent systems have a type of BIOS-based antivirus protection that can be enabled to stop real viruses but are smart enough to allow boot sector changes by the operating system.

If you partition a hard disk and the system reports that the partition or drive letter is damaged, you might be trying to create a partition larger than the Windows version you're using can handle properly. Reduce the size of the partition and try creating the partition or drive letter again. This can happen both during initial installation of the operating system or with additional drives you install.

Troubleshooting Hard Disks That Can't Boot After Format

If you can't boot from drive C: after formatting it, check the following:

  • Did you use Format C:/s with Windows 9x?

    The /s , as you saw previously, transfers the system files used to boot the system. Use C:\>DIR /AH to see whether the system files listed previously are present on the drive. If not, reboot with a floppy disk and run A:\>SYS to transfer boot files to the hard disk. Reboot the system without the floppy disk and see whether it starts. With Windows Me, you need to complete the setup program (which installs bootable files to the hard disk as part of the Windows Me installation process).

  • Did you make the primary partition (C: drive) active with Fdisk?

    If you used Fdisk to create two or more drive letters , you must make the primary partition active. Boot from a floppy disk and rerun Fdisk; select option 2 and make the primary partition active.

  • Is the hard disk listed as a bootable drive in boot options in the system BIOS?

    Some BIOSs enable you to skip the hard disk as a bootable drive; make sure the hard disk is listed as a bootable device.

  • Is there a floppy disk in drive A:?

    A floppy disk in drive A: prevents booting the system if it is listed before the hard disk in the boot order.

    A floppy disk that is not formatted with the /S option cannot be used to start a system. Remove the floppy disk and restart the computer to allow Windows to start normally with full features.

  • Was LBA mode disabled after using it to prepare the hard drive?

    Any drive using Windows 9x/Me can't boot if LBA mode has been disabled after it was originally used to prepare the drive. This is because LBA mode changes the logical layout of the drive, and thus the location of the boot files.

    Using setup defaults or BIOS defaults with some old AMI BIOS versions will disable LBA mode; restart your system and re-enable LBA mode in the BIOS setup program.

  • Is there damage to the hard disk's master boot record (see the next section for details)?

Repairing the Master Boot Record

Boot sector viruses and magnetic errors can corrupt the master boot record (MBR ), which is used by the BIOS's bootstrap program to locate a bootable drive. A damaged MBR will prevent your system from starting from a bootable hard disk. To repair a damaged or corrupted MBR, you can use one of the following options:

  • Windows 9x users can use an undocumented Fdisk switch called Fdisk/mbr .

  • Windows 2000/XP users can use the Recovery Console command Fixmbr on an NTFS-based drive. If the drive is FAT based, Fixboot should be used first, followed by Fixmbr .

Because damaged MBRs can be caused by a computer virus, systems should be tested with an up-to-date antivirus program before either of these commands is used. If a boot-sector virus is located by an antivirus program, the program's own disk-repair options should be used first.

graphics/note_icon.gif

If you see a message at startup referring to EZ- BIOS , Dynamic Drive Overlay , or a similar message, that indicates the drive has been prepared using a third-party disk utility, such as DiscWizard, Disk Manager, MaxBlast, Data Lifeguard Tools, or other vendor-supplied hard disk setup programs. If a system has an outdated BIOS that cannot manage the full capacity of the drive, these programs will install a nonstandard MBR and drivers to manage the drive's full capacity. If systems running third-party hard disk management software can't boot, use the repair program provided by the software vendor, not Windows's own MBR repair programs.


If this is unsuccessful , you can use the appropriate repair tool to attempt to fix the MBR.

To run Fdisk/MBR, boot from the Windows 9x EBD and type Fdisk/mbr at the command prompt; press Enter.

To run Fixmbr, start the Windows 2000 or XP Setup process, select Repair, Recovery Console, and type Fixmbr at the Recovery Console prompt. Press Enter. To rewrite the boot sector on a FAT-based drive, type Fixboot and press Enter. To repair the master boot record with an NTFS-based drive, type Fixmbr and press Enter. (If you boot from a different drive letter than the default Windows drive or a different hard disk than normal, you can specify the hard disk drive letter or drive number with these commands.)

Windows NT 4.0 uses the Diskprobe.EXE program from the Windows NT 4.0 Resource Kit to restore NTFS boot sectors. The Norton Utilities Disk Editor can also be used. See Knowledge Base articles 153973 ("Recovering NTFS Boot Sector on NTFS Partitions" provides instructions for using Diskprobe ) or 121517 ("How to Recover from a Corrupt NTFS Boot Sector" provides DiskEdit instructions) at http://support.microsoft.com for details.

 <  Day Day Up  >  


Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 310

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net