Understand Window' s booting-up process

1. Booting Upstored in the BIOS to start the operating system. It
It is useful to understand what happens behind thewill start by reading from the first bootup device. If it
scenes when you switch on your computer from apoints to the floppy drive, it then searches for a
cold idle machine to an operable and functionalfloppy disk. If it does not detect a bootable diskette
system. There are essentially two forms of booting -in the floppy drive, the system displays an error
the soft boot and the hard boot.message.
The warm boot or hard boot involves powering theIf the floppy drive does not contain a diskette, it
computer up from an initial zero power supply.bypasses the first bootup device and detects the
A cold boot on the other hand takes place when asecond device, which is usually the hard disk. It'll then
software application or operating system triggers thestart by reading the boot code instructions located in
computer to perform a reboot.the master boot record and copies all execution into
A successful boot is dependent on 3 conditions - thethe memory when the instructions are validated and
hardware, BIOS and operating system files tono errors are found.c. Boot Loader Phase
function without errors. When an error occurs, youControl is then passed on to the partition loader code
will be notified by error messages, beeping sounds orwhich accesses the partition table to identify the
in the worst scenario, a blank screen.primary partition, extended partitions and active
2. Bootup Processpartition which is needed to determine the file
The bootup process is a list of detailed proceduressystem and locate the operating system loader file -
that the system undergoes to perform all systemNTLDR. NTLDR will then switch the processor from
checks and load all necessary files to bring thereal-mode to 32 bit protected mode which memory
computer to an operable state.paging is enabled.
The Windows XP bootup process comprises of theNTLDR will call upon the boot.ini file which is located
following procedures:a. The Power-On Self Testat the root directory to determine the location and
Phaseentries of the operating system boot partition. At
As soon as you power up your computer, a self-testthis point in time, the bootup menu is displayed on
is performed by the power supply to ensure that thethe screen to allow you to select an operating
volume and current levels are correct before thesystem to start from if you have more than 2
Power Good signal is sent to the processor. Whenoperating systems installed in your computer.
this first stage is cleared, the microprocessor will thenNTLDR will pass all information from the Windows
trigger the BIOS to perform a series of operations.b.registry and Boot.ini file into Ntoskrnl.exe.d. Operating
BIOS ROM PhaseSystem Configuration Phase
The BIOS, also known as the Basic Input OutputNtoskrnl will begin to load the XP kernel, hardware
System is a firmware or set of instructions thatabstraction layer and registry information.
resides on a ROM chip as contained in theAfter this is completed, the control is passed over to
motherboard.the DOS based program which collects and
It first carries out the P.O.S.T that performs andconfigures all installed hardware devices such as the
verifies all initial hardware checks, such as checking ifvideo adapters and communication ports.
the system is initialized by a warm or cold start,then searches for hardware profiles information and
detecting the presence of peripheral devices and theload the essential software drivers to control the
amount of memory present.hardware devices.e. Security & Logon Phase
It then accesses the information stored in the CMOSLastly, Ntoskrnl.exe will start up Winlogon.exe which
chip, DIP switches, jumpers and assigns thetriggers the Lsass.exe or Local Security
necessary system resources. After this, theAdministration which is the logon dialog interface that
hardware' firmware will individually carry out its ownprompts you to select your user profile and verifies
diagnostic test such as S.M.A.R.T.your necessary credentials before you are
The system will now attempt to determine thetransferred to the Windows desktop.
sequence of devices to load based on the settings