BOOTING
BOOTING
is to imagine a person wearing boots who reaches down, pulls on their bootstraps,
and lifts themselves into the air. Of course, this only is possible in cartoons,
but it is a vivid image. With the power off, a computer is a dead hunk of silicon,
steel, and wires. During the boot process, it has to wake up, find all of its
peripherals, and configure itself to run software. It takes some doing to make
all of this happen.
BIOS
The process begins with the BIOS
(Basic Input Output System), which is a series of instructions that are contained
on a ROM
(read-only memory) chip. In addition to the ROM BIOS there are settings that
are held on a bettery-powered chip. This chip is frequently made of a special
material called CMOS
(complementary metal oxide semiconductor). These settings are configurable by
the user, and can be accessed at the beginning of the boot process by pressing
a special key, such as F1 or Delete. The settings held in the CMOS tell the
computer which disk drives are present, and the order in which these disks should
be checked for boot information.
POST
The very first thing that happens in the boot sequence is the
POST (Power
On Self Test). This is run from the BIOS, and allows the computer to check for
memory (you see it clicking through the available memory on your screen), check
for a keyboard, and check for disk drives. If it does not find these things,
it gives an error, sometimes on the screen, but more often by emitting a series
of beeps through the pc built-in speaker. There are different varieties of BIOS,
and each has its own BEEP codes, which are used to diagnose problems during
the boot process. On the screen you may see errors like “keyboard failure”,
“Failure accessing floppy disk”, etc.
MBR
Assuming that the keyboard is working, the memory is there, and
it can find the proper disk drive, the BIOS then looks to the appropriate disk
for further instructions. Whether a floppy or a hard disk drive, the very first
sector of a bootabledisk ( the boot sector) contains the Master
Boot Record (MBR). The Master Boot Record contains information on where
to go next in the boot process. If the Master Boot Record is found, the boot
process goes forward. If it is not found, or is damaged in some way, you may
receive an error that says that the disk is not bootable, or is “not a
system disk”.
Everything said up to this point is generically true of the boot
process for all Intel-based PCs, regardless of the operating system. From this
point on, the details will be given for DOS. Some of these steps you may find
are retained in Windows, but that is not our concern here.
C:\>