Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the startup sequence of Windows?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you what the Windows startup sequence is like. I hope you will get something after reading this article. Let's discuss it together.

The startup process of windows consists of the following stages:

Start the self-test phase

This stage is mainly to read BIOS, and then memory, CPU, hard disk, keyboard and other devices for self-test. This stage is displayed on the screen as the print message of the self-test.

Screen display: print information of self-test

Initialize the startup phase

According to the boot sequence specified by BIOS, this phase finds the priority boot devices that can be booted, such as local disk, CD Driver, USB devices, and so on, and then prepares to boot the system from these devices.

Screen display: black screen

Boot loading phase

In this stage, Ntldr is loaded from the boot partition (such as C disk), and then Ntldr is set up as follows:

Set the memory mode, if it is an x86 processor and the operating system is 32-bit, it is set to 32-bit flat memory mode, if it is a 64-bit operating system + 64-bit processor, it is set to 64-bit memory mode.

Start the file system

Read boot.ini file

Screen display: black screen, if you press F8 or multiple systems, the startup options menu will be displayed.

Detect and configure hardware Pha

At this stage, some hardware devices are checked and configured, which are:

System firmware, such as time and date

Bus and adapter

Display adapter

Keyboard

Communication port

Magnetic disk

Floppy disk

Input device (such as mouse)

Parallel port

Devices running on the ISA bus

Screen display: black screen

Kernel loading phase

In the kernel loading phase, Ntldr will first load the windows kernel Ntoskrnl.exe and hardware abstraction layer (HAL). HAL is somewhat similar to BSP (Borad support package) under the embedded operating system. This abstraction layer isolates the characteristics of the underlying hardware and provides a unified calling interface for the operating system. When the operating system is transplanted to different hardware, you only need to change the corresponding HAL, and other kernel components do not need to be modified. This is the usual design pattern of the operating system.

Next, Ntldr reads the drivers installed on this machine from HKEY_LOCAL_ MACHINE\ SYSTEM\ CurrentControlSet, and then loads the drivers in turn.

After the driver is loaded, windows makes the following settings:

Create system environment variabl

Start win32.sys, which is the kernel mode part of the windows subsystem.

Start csrss.exe, which is the user mode part of the windows subsystem.

Start winlogon.exe

Create a virtual memory page file

Rename some necessary files (mainly driver files, if updated, you need to rename them before the next restart)

Screen display: displays the windows logo interface and progress bar

Login phase

The following things will be done at this stage:

Start all windows services installed on the machine that need to be started automatically

Start the local security authentication Lsass.exe

Display the login interface

Screen display: displays the login interface

After reading this article, I believe you have a certain understanding of "what is the startup sequence of Windows". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report