設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 631|回復: 0
打印 上一主題 下一主題

Windows 7 Boot Process

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2018-5-19 16:19:57 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
1. The MBR at 0000h:7C00h finds and loads the Volume Boot Sector and the NT Boot
Sector
(8 KB in size). The NT Boot Sector has the ability to read FAT32 and NTFS.
2. The NT Boot Sector finds and loads BOOTMGR.EXE from the system32 or
system32/boot directory at 2000h:0000h. BOOTMGR.EXE has a 16 bit header prepended
to itself. This 16 bit header checks the checksum of embedded PE.EXE and maps it at
0x400000. Execution of BOOTMGR.EXE starts in 32 bits in the BmMain function.
3. BOOTMGR.EXE checks for hibernation state. If it's found, it loads WINRESUME.EXE.
4. BOOTMGR.EXE mounts and extracts basic boot information from BCD (Boot
Configuration Data). After user selects a boot entry, it is launched using
BmLaunchBootEntry with added switches. In 64-bit systems, the CPU switches to 64-bit
mode just before jumping to WINLOAD.EXE.
5. BOOTMGR.EXE loads and passes control to WINLOAD.EXE.
6. WINLOAD.EXE then loads NTOSKRNL.EXE, HAL.DLL, dependencies, boot drivers, and
the SYSTEM registry hive. WINLOAD.EXE then creates a PsLoadedModuleList and
LOADER_PARAMETER_BLOCK structure which contains a memory map and options
list.
7. WINLOAD.EXE then loads and executes NTOSKRNL.EXE and transfers control to the
kernel using OslArchTransferToKernel. NTOSKRNL.EXE uses two phases to initialize
the system.
8. NTOSKRNL.EXE phase 0 initializes the kernel itself. It calls HalInitializeBios, initializes
the display driver, start the debugger, and calls KilInitializeKernel. NTOSKRNL.EXE
phase 1 initializes the system. It calls Phase1InitializationDiscard, HalInitSystem,
ObInitSystem, sets the time bias for ASLR, calls PsInitialSystemProcess, and then
calls StartFirstUserProcess SMSS.EXE.
9. NTOSKRNL.EXE, after stopping the debugger, then passes control to the Session
Manager SMSS.EXE.
10.SMSS.EXE loads the rest of the registry, configures the environment to run the Win32
subsystem (WIN32K.SYS) and its various processes.
11.SMSS.EXE loads the WINLOGON.EXE process to create the user session, and then
starts the services and the rest of the non-essential device drivers and the security
subsystem LSASS.EXE.

本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?立即註冊

x
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-5-15 08:22 , Processed in 0.245345 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表