What is the boot sequence for Windows XP?

What is the boot sequence for XP?  I mean what is run or loaded when?  
glow060197Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JoWickermanCommented:
Hi glow,

1.  First is the POST, this stands for Power On Self Test, for the computer. This process tests memory as well as a number of other subsystems. You can usually monitor this as it runs each test. After that is complete the system will run POST for any device that has a BIOS (Basic Input-Output System). An AGP has its own BIOS, as do some network cards and various other devices.

2. Once the POST is complete and the BIOS is sure that everything is working properly, the BIOS will then attempt to read the MBR (Master Boot Record). This is the first sector of the first hard drive (called the Master or HD0). When the MBR takes over it means that Windows is now in control.

3. The MBR looks at the BOOT SECTOR (the first sector of the active partition). That is where NTLDR is located, NTLDR is the BOOT LOADER for Windows XP. NTLDR will allow memory addressing, initiate the file system, read the boot.ini and load the boot menu. NTLDR has to be in the root of the active partition as do NTDETECT.COM, BOOT.INI, BOOTSECT.DOS (for multi-OS booting) and NTBOOTDD.SYS (if you have SCSI adapters)

4. Once XP is selected from the Boot Menu, NTLDR will run NTDETECT.COM, BOOT.INI and BOOTSECT.DOS to get the proper OS selected and loaded. The system starts in 16-bit real mode and then moves into 32-bit protected mode.

5. NTLDR will then load NTOSKRNL.EXE and HAL.DLL. Effectively, these two files are windows XP. They must be located in %SystemRoot%System32.

6. NTLDR reads the registry, chooses a hardware profile and authorizes device drivers, in that exact order.

7. At this point NTOSKRNL.EXE takes over. It starts WINLOGON.EXE that in turn starts LSASS.EXE, this is the program that display the Logon screen so that you can logon.

Cheers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JonveeCommented:
glow ... if you wish to have a more detailed description then perhaps this article will suffice .. notice that there is a printer friendly version >

Troubleshooting the Startup Process:
http://technet.microsoft.com/en-us/library/bb457123.aspx

Alternatively you may prefer a more basic approach, with graphics >

The PC Boot Process - Windows XP:
http://www.geocities.com/asoke_dasgupta/boot-xp.html
0
glow060197Author Commented:
JoWickerman:

>>5. NTLDR will then load NTOSKRNL.EXE and HAL.DLL. Effectively, these two files are windows XP.     >> They must be located in %SystemRoot%System32.


Just curious...what would happen if they weren't there or were corrupted??
0
JoWickermanCommented:
Windows will not start.

"Windows could not start because the following file is missing or corrupt:

<Windows root>\system32\ntoskrnl.exe.
Please reinstall a copy of the above file. "
0
glow060197Author Commented:
thanks, my friend.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.