Windows2000 system XP System boot Process

Source: Internet
Author: User
Tags win32

WINDOWS2000/XP is an excellent operating system, it is powerful, safe and stable, favored by the majority of computer users. But in the use of the process, we obviously feel that its start-up time than Windows98 to extend a lot more than the Windows98 to test people's patience. So in this period of unbearable but can not bear the time, the system actually did what work, don't worry, let me slowly, let me see why it is so turtle speed.

On Intel-based computers, the boot process for WINDOWS2000/XP can be broadly divided into 5 steps: Pre-boot, boot, load kernel, initialize kernel, and user login. The following are introduced separately:

I. Pre-boot

First the computer is powered on for self-test, and the BIOS (i.e. the basic input output system) completes the basic hardware configuration, then reads the hard disk's MBR (Master boot record) to check the hard disk partition table to determine the boot partition, and the boot partition on the operating system boot sector into memory execution, here is the execution of NTLDR ( Operating system loader) files.

* WINDOWS2000/XP supports multiple boot. It will first save the other operating system boot sectors that already exist as Bootsect.dos files (located at the root of the active partition) and modify the system boot sector so that the NTLDR files are loaded at system startup to achieve multi-boot. And Windows98 does not have this function, so if the first installed WINDOWS2000/XP after the Windows98 will destroy the WINDOWS2000/XP boot record, resulting in 2000/xp can not start.

Two. Start

1. First, the NTLDR will convert the processor from the actual mode to the 32-bit protection mode.

2. Read the boot. ini file. The file is located at the root of the active partition, it is the role of the system in the startup process of the selection menu, the user chooses the operating system that you want to start. If you choose to start Windows2000/xp,ntldr, you will continue to boot the following procedure, and if you choose to be a non-WINDOWS2000/XP system, NTLDR will read the system boot sector copy Botsect.dos to boot the appropriate system.

* Where [boot LOADER] is the OS loader, specify the System selection menu default wait time and default boot operating system. Can be manually modified or modified in the Control Panel, for insurance purposes, it is recommended to modify in the control Panel. Select Control Panel-〉 system-〉 advanced startup and recovery to change the settings. (There is another way in WindowsXP, which is to run Msconfig (System Configuration Utility).

[OPERATING Systems] segment specifies the list of operating systems, the part enclosed in double quotes is what the list shows, and can be arbitrarily modified to make it more personal.

* MULTI (0) DISK (0) RDISK (0) PARTITION (1) Format statement is called ARC path, it is in the form of: MULTI ()--Specifies the disk controller (if it is a SCSI controller, this should be replaced with scsi ());D ISK ()-- Specifies the SCSI device number (for multi, where the value is always 0); RDISK ()--Specifies the IDE device number (for SCSI, ignored here); PARTITION ()--Specify the partition number. Except for the partition number starting with 1, the remaining numbers start at 0.

The parameter/fastdetect indicates that serial mouse detection is disabled and is the system default value. There are also several common parameters: maxmem--Specifies the windows2000/xp available memory capacity; basevideo--using standard VGA display driver; noguiboot--The graphics screen is not displayed during startup; sos--displays its name when the device driver is loaded.

* The Chinese font in the operating System selection menu is provided by the Bootfont.bin file located in the root directory of the active partition.

3. The system loads the Ntdetect.com file. It detects machine hardware such as parallel ports, display adapters, and so on, and returns the collected hardware list to NTLDR for later registration in the registry save.

4. If WINDOWS2000/XP has multiple hardware profiles, a selection menu appears, waiting for the user to determine which hardware profile to use, otherwise skip this step and enable the default configuration.

* A hardware profile is a system file that holds a computer-specific hardware configuration. Several different hardware profiles can be created to meet the computer's application Windows7 system downloads on different occasions. You can select Control Panel-〉 System--Hardware-〉 hardware configuration file to make changes.

Three. Loading the kernel

The boot process begins loading the WINDOWS2000/XP kernel NTOSKRNL.EXE. This file is located in the SYSTEM32 folder under the WINDOWS2000/XP installation folder. The hardware abstraction layer (HAL) is then loaded by the boot process to complete this step.

* Hardware Abstraction Layer (HAL): Hides the hardware interface details of a particular platform, providing the operating system with a virtual hardware platform that is hardware agnostic and can be ported on multiple platforms.

Four. Initializing the kernel

When the kernel is initialized, NTLDR transfers control to the WINDOWS2000/XP kernel, which starts loading and initializing the device driver, and starts the WIN32 subsystem and WINDOWS2000/XP service.

Five. User Login

Start the logon process. The WINLOGON.EXE is started by the WIN32 subsystem and initiated by the local SECURITY authority (LSASS. EXE) Displays the login dialog box. After the user logs in, WINDOWS2000/XP will continue to configure the network device and user environment. Finally, with the voice of Microsoft and our familiar personalization desktop, WINDOWS2000/XP's lengthy start-up process is finally complete. Oh, is not asleep, wake up, the system started successfully, you should now do what you do!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.