Friday, August 07, 2009

Windows XP boot Process

When switch on the power of a PC, system clock send clock ticks to start the CPU, then the CPU checks the startup program in ROM BIOS and starts the POST (Power On Self Test) which is tests all the hardware devices functionality of the PC and check whether the PC is good condition to operate. If the POST completed successfully it finishes the initialization of the CPU. During the POST process it checks whether this power on process occurred due to soft/warm or hard/cold start. (Cold start is when the machine start occurs with an in proper shutdown, whereas soft start happens when the machine is restarting with proper execution of commands when it is on) If it is a cold start POST perform a full test and if it is a warm start it omit the memory test part during the POST.

BIOS check the disk and load the MBR (Master Boot Record) to the memory, and then MBR take over the boot process. Boot Loader in the MBR searches the partition table for active partition and reads first sector to locate Boot Record. NTLDR (NT Loader) is a system file which is stored in the system root start the XP loading in following phases;

Initial Boot Loading – Processor is turned to real mode from the protected mode and switched on the memory paging. NTLDR will detect and load Boot.ini into memory.

Operating System selection – Boot.ini check whether it has more than one operating systems configured in the system and if it identified two or more it stops the process and allow user to select a OS.

Hardware detection – When XP is selected, NTLDR loads the Ntdelect.com program which detect the hardware profiles configured for the system. If there are many hardware profiles detected, it gives a time period to select a hardware profile for the system before proceeding with the 1st profile. Then NTLDR is loading Ntoskrnl.exe.

Configuration selection – It loads drives which are selected as boot drivers to the system, while ntoskrnl.exe in first phase disable interrupts and call HAL (Hardware Abstraction Layer) to setup interrupt controller, then it enables the interrupts before the next phase. During the 2nd phase below processes execute and re-initialization occurs in the given sequence.

a. Object manager

b. Executive

c. Microkernel

d. Security Reference Monitor

e. Memory manager

f. Cache manager

g. LPCS

h. I/O Manager

i. Process Manager

I/O manager first finishes loading boot drivers and system drivers and prioritized and load all other drivers. Session Manager Subsystem (SMSS) loads win23k.sys devices driver which change screen into graphical mode. After successful loading of all the device drivers and services it saves its configuration as “Last Know Good Configuration”. Hence logging process is started by Winlogon.exe, and lsass.exe (Local Security Authority) displays the logon screen.

8 comments:

Anonymous said...

It was certainly interesting for me to read this blog. Thank you for it. I like such topics and everything connected to them. I definitely want to read more soon.

Anonymous said...

Bravo, what words..., a brilliant idea

Anonymous said...

Can anyone recommend the top performing Managed Service program for a small IT service company like mine? Does anyone use Kaseya.com or GFI.com? How do they compare to these guys I found recently: N-able N-central network management
? What is your best take in cost vs performance among those three? I need a good advice please... Thanks in advance!

Anonymous said...

You know what, buy GSM blocker to jam all spy devices in your home or office.

Anonymous said...

[url=http://seghan.ru/go.php?sid=35][img]http://i066.radikal.ru/1001/38/f22daff34e6d.jpg[/img][/url]












[url=http://mlwqdwu.xn--baldmglichst-8ib.de/sitemap.html]buy cigarettes online with credit card [/url]
the legal age to buy cigarettes buy tobacco buy cigarettes online marlboro buy cigarettes in virginia
[url=http://vonzura.misslich.de/]buy cartier cigarettes [/url]
buy newport cigarettes online by visa to buy cigarettes age to buy cigarettes in florida
[url=http://mlwqdwu.xn--baldmglichst-8ib.de/]best buy cigarette 2652 [/url]
buying cigarettes on-line buy cigarettes for cheap buying cigarettes in delaware
[url=http://powjxun.wieder-mal.de/sitemap.html]discount cigarettes buy discount marlboro [/url]
buy french cigarettes most expensive state to buy cigarettes best buy cigarette 2652
[url=http://powjxun.wieder-mal.de/]order japanese cigarettes [/url]
buy cigarettes inexpensive cheap make money where can i buy gauloises cigarettes buying blank cigarette boxes and contaners onlin
[url=http://powjxun.wieder-mal.de/sitemap.html]buying cigarettes in wyoming [/url]
buying cigarettes in new hampshire buy sobranie black russian cigarettes linkdomain buy discount cheap cigarette onlinecom
[url=http://wcsoius.biz.co.nl/]cherry dreams cigarettes where to buy [/url]
buy cigarettes in ny online cigarette orders buy cigarettes through the mail
[url=http://uvfaquc.akzentuiert.de/]buy us cigarettes [/url]
buy cigarettes cheap online buy german cigarettes buy discount cigarettes d
[url=http://mlwqdwu.xn--baldmglichst-8ib.de/]buy marlboro menthol cigarettes [/url]
ordering cigarettes from europe buy marlboro cigarettes online nevada buy coloured cigarettes
[url=http://deuaexj.naheliegend.de/sitemap.html]buying cigarettes across michigan state line [/url]
buy newport cigarettes wholesale cheap where can i buy lake cigarettes buying indian cigarettes from the cherokees

Anonymous said...

Technology really is an inescapable aspect of our daily lives, and I am fairly certain that we have passed the point of no return in our relationship with technology.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as the price of memory decreases, the possibility of downloading our brains onto a digital medium becomes a true reality. It's one of the things I really wish I could experience in my lifetime.


(Posted on Nintendo DS running [url=http://www.leetboss.com/video-games/r4i-r4-sdhc-nintendo-ds]R4i SDHC[/url] DS FFOpera)

Anonymous said...

Great blog you got here. It would be great to read a bit more about that topic. Thanx for giving this info.

Anonymous said...

Amiable fill someone in on and this post helped me alot in my college assignement. Thanks you on your information.