BIOS Startup Error Messages and Solutions
When a system has problems starting, it might display error messages at startup. These messages might come from the system BIOS (ROM BIOS or UEFI firmware) or might be generated by Windows. Typical error messages displayed by the BIOS include the following:
- Invalid system disk
- Boot failure
- Hard disk error
- NT boot loader missing
- Missing operating system
These and similar messages indicate that the BIOS or UEFI firmware chip on the motherboard cannot locate startup files for your operating system. Possible reasons can include the following:
- A nonbootable drive containing media is listed first in the boot order (BIOS/UEFI).
- The computer’s system drive is not properly identified (BIOS/UEFI).
- Data or power cables from the internal hard disk to the motherboard are loose or have failed (hardware).
- The drive has failed (hardware).
These are listed in order of likelihood. As always, start with the simplest possibility: You’ve left a USB thumb drive plugged into your computer.
Disconnecting USB Drives
If your system is configured to use USB drives as the first bootable device and you leave a nonbootable USB flash drive plugged into your system (either directly or into a USB hub connected to your system), your system won’t boot. Solution? Unplug the drive and restart your system.
If your system restarts correctly, you have a couple of choices:
- Don’t leave USB flash drives plugged into your system when you shut down the computer.
- Change your BIOS or UEFI firmware settings to skip USB drives as bootable devices.
Checking and Changing Drive Boot Order
Should you change the boot order? It depends. More and more diagnostic programs can be run from bootable USB flash drives, and you can also install new operating systems from bootable USB flash drives. However, you can also use your system’s DVD or BD (Blu-ray) drive for these tasks. So, it’s up to you.
We recommend changing the boot order on Windows 7 computers if
- You use USB flash drives to speed up your system using the Windows ReadyBoost feature.
- You frequently use USB flash drives to shuttle information between computers.
- You frequently use USB flash drives for other reasons.
However, you should leave USB flash drives at the top of the boot order if
- You frequently run diagnostic programs from a bootable USB flash drive.
- You install operating systems from a bootable USB flash drive.
- You seldom or never use USB flash drives for data transfer.
Here’s how to change the boot order in Windows 7:
- Click Start.
- Click the right arrow next to the Shut Down button.
- Select Restart.
After your system restarts, press the key that starts the BIOS or UEFI firmware setup program (see Figure 8.3).
Figure 8.3 On some systems, such as this HP Pavilion DV6 laptop, you might need to press a key (ESC) to see startup options including BIOS setup (F10).
Navigate to the dialog used to set the drive boot order (see Figure 8.4).
Figure 8.4 This system looks for USB thumb drives as the first bootable devices.
- Change the boot order to place the optical drive first, followed by the hard disk.
- Save your changes and restart your computer.
Windows 8.1 (unlike Windows 8) does not support the creation of a CD or DVD repair disc, although you can use your Windows 8.1 distribution media as a repair disc. With Windows 8.1, if your system supports booting from a USB drive, you should create a USB recovery drive instead.
To learn more, see http://windows.microsoft.com/en-US/windows-8/create-usb-recovery-drive.
STOP (Blue Screen) Errors at Startup
If you turn on your Windows computer and, instead of seeing the Windows login screen or desktop, you see a screen similar to the one shown in Figure 8.5, you have a STOP error, also known as a “Blue Screen” or BSOD (“blue screen of death) error. What happened?
Figure 8.5 A 0x7B STOP error in Windows 7 caused by changing the SATA interface setting in the system BIOS (a). Windows 8 displays a different STOP error (b).
Blue-screen errors can be caused by many problems. At startup, they’re typically caused by problems with hard disk device drivers. If a blue screen error appears after you have booted to the Windows desktop, it could be caused by corrupt apps, corrupt device drivers, or memory problems.
When you see a BSOD error, be sure to record the numbers listed after the STOP message, such as STOP: 0x0000001E, or 0x1E for short. If the name of the error is displayed, such as KMODE_EXCEPTION_NOT_HANDLED, record it as well. You can then look up the error number and name on the Microsoft Support Site (http://support.microsoft.com) to find Microsoft’s suggested solutions.
Table 8.2 lists some of the most common STOP errors and possible solutions.
Table 8.2 Common Windows STOP Errors and Solutions
STOP Error Number |
STOP Error Name |
Suggested Solutions |
0xA |
IRQL_NOT_LESS_OR_EQUAL |
Check device drivers or services used by backup or antivirus utilities. |
0xD1 |
DRIVER_IRQL_NOT_LESS_OR_EQUAL |
Check device drivers or services used by backup or antivirus utilities. |
0x1E |
KMODE_EXCEPTION_NOT_HANDLED |
Illegal or unknown instruction; check the driver referenced in the error message. |
0x24 |
NTFS_FILE SYSTEM |
Test the hard disk for errors. |
0x2E |
DATA_BUS ERROR |
Test memory modules; disable memory caching in system BIOS; check hardware configuration. |
0x50 |
PAGE_FAULT_IN_NONPAGED AREA |
Check printer drivers. |
0x7B |
INACCESSIBLE_BOOT_DEVICE |
Incorrect or missing hard disk device driver; see “Fixing 0x7B Errors,” this chapter, for details. |
0x7F |
UNEXPECTED_KERNEL_MODE_TRAP |
Test hardware and RAM; check SCSI configuration if in use; make sure CPU is not overclocked. |
0x9F |
DRIVER_POWER_STATE_FAILURE |
Check power management and CD-writing software; disable power management temporarily; reinstall or upgrade CD-writing software. |
0xC21A |
STATUS_SYSTEM_PROCESS_TERMINATED |
Reinstall third-party programs; use System File Checker with the Scannow option (SFC/Scannow) to check system files. |
Unfortunately, Windows is typically configured to restart the system immediately when a STOP error is displayed, so you can’t read it. To configure Windows so that a STOP error stays onscreen so you can determine what it is and look for solutions, see “Preparing a Windows-Based Computer or Tablet for Easier Troubleshooting,” Chapter 1, p.37.
Fixing 0x7B Errors at Startup
If you are building a computer, have just upgraded to a new hard disk, or have just replaced the motherboard battery that maintains system settings, it’s possible that your computer has “forgotten” the correct hard disk configuration settings.
Almost all hard disks are configured using Auto as the hard disk type. Thus, if the setup information is lost, the default (normal) setting is Auto and the drive will be properly detected.
However, the setting for the SATA interface used by your hard disk can be a problem. There are several possible settings for the SATA interface (IDE, AHCI, and RAID), and if your system is configured using one setting, but a different setting is used in the system BIOS or UEFI firmware, your computer won’t start, displaying a 0x7B STOP error (refer to Figure 8.5).
If you know the correct setting, follow these steps:
- Shut down the computer and restart it.
- Start the BIOS or UEFI firmware setup program.
- Change the SATA setting to the correct value.
- Save settings and restart the computer.
- Select Start Windows Normally if prompted.
Switching to AHCI Mode in Windows 7 and Windows 8.x
If your SATA drives are currently set to run in IDE mode, but you are planning to install an SSD, keep in mind that an SSD cannot provide you with faster performance unless you use AHCI mode. If the system crashes when you change SATA modes, how can you safely change from IDE to AHCI mode?
Before you make the switch, you need to enable Windows to use AHCI drivers when necessary.
The easiest way for Windows Vista and Windows 7 is to use the Fix-It wizard available from http://support.microsoft.com/kb/922976. This page also details manual Registry changes that make the same changes as the Fix-It Wizard.
After you run the Fix-It Wizard or make the needed changes manually, you can safely enable AHCI mode in the system BIOS or UEFI firmware setup dialog (refer to Figure 8.8), and your system will install the appropriate drivers and run properly.
To switch from IDE mode to AHCI mode in Windows 8.x, follow this procedure (adapted from http://superuser.com/questions/471102/change-from-ide-to-ahci-after-installing-windows-8):
- Search for and run msconfig.exe.
- Click the Boot tab.
Click the empty Safe Boot box (see Figure 8.6).
Figure 8.6 Make sure Safe Boot is checked before you click OK.
- Click OK.
- Swipe from the right or move your mouse to the lower-right corner of the screen and click or tap Settings.
- Click or tap Change PC Settings.
- Click or tap Update and Recovery.
- Click or tap Recovery.
Click or tap Restart Now (see Figure 8.7).
Figure 8.7 Restart Now enables you to change firmware (BIOS/UEFI) settings.
- Press the key or keys needed to enter the UEFI firmware setup program.
Change the SATA mode to AHCI (see Figure 8.8).
Figure 8.8 Preparing to change a system configured for IDE mode to AHCI mode.
- Select the option to save changes and restart your computer.
- Search for and run msconfig.exe.
- Click or tap the Boot tab.
- Clear the Safe Boot check box.
- Click or tap OK.
- Open the Charms menu.
- Click or tap Settings.
- Click or tap Power.
- Click or tap Restart.
Your computer will restart using AHCI mode for full performance of your SATA devices.
Loose Drive Data and Power Cables
The interior of a desktop PC is a cluttered place. Whether you had your system opened up for a memory upgrade, component replacement, or just to see what’s “under the hood,” you might have loosened or disconnected the power or data cables going to the hard disk or the data cable connecting the hard disk to the motherboard. If your system (C:) drive has disconnected or loose cables, you will see No Operating System or other similar error messages.
Most SATA data cables do not lock into place, so it’s easy to have a loose cable on either a drive (see Figure 8.9) or the motherboard (see Figures 8.10 and 8.11).
Figure 8.9 Loose data cable on an SATA hard disk.
Figure 8.10 An SATA motherboard host adapter with a loose data cable.
Figure 8.11 Some motherboards use front-mounted SATA ports, like this one, which also features a loose data cable.
Similarly, SATA power cables can come loose from drives (see Figure 8.12).
Figure 8.12 The power cable on this SATA drive is not connected tightly.
To solve problems with loose or disconnected cables:
- Shut down the computer.
- Disconnect the power supply from AC power.
- Open the system.
- Check the hard disk or SSD for loose or disconnected cable(s).
- Check the motherboard for loose or disconnected SATA data cables.
Securely plug the cable(s) into place (see Figures 8.13, 8.14, and 8.15).
Figure 8.13 An SATA hard disk with properly connected power and data cables.
Figure 8.14 A correctly installed SATA data cable plugged into a top-facing motherboard port.
Figure 8.15 A correctly installed SATA data cable plugged into a front-facing motherboard port.
- Close the system.
- Reconnect the power supply to AC power.
- Restart the computer.
Drive Failure
If your hard disk is making a loud or rattling noise when it’s running, it has probably failed. If the hard disk was dropped or smacked hard, a failure is very likely.
However, a hard disk might have failed if it is absolutely silent even when you place your ear next to it or does not get warm after the system has been on for several minutes.
Before assuming a hard disk has failed, perform this isolation test to determine whether the problem is the hard disk, its power cable, or its data cable:
- Shut down the computer.
- Disconnect the power supply from AC power.
- Open the system.
- Locate the power cable running between the hard disk and the power supply.
- Disconnect the power cable from the power supply.
- If the power cable used a splitter or converter to provide power to the drive, plug the drive directly into the power supply (if possible). If that is not possible, replace the splitter or converter and make sure it is securely plugged into the power supply lead and the drive.
- Reconnect the power supply to AC power.
- Restart the computer.
- If the drive is still not working, repeat steps 1 and 2.
- Reconnect the drive to the original power cable (and splitter or converter).
- Remove the data cable from the hard disk drive and the computer.
- Install a known-working replacement cable.
- Plug it into the SATA port on the motherboard and drive.
- Repeat steps 7 and 8.
- If the drive is still not working, the drive has failed. Replace it.