FOR FREE CONTENT

Booting Process:

 

Booting process is starting up the computer and loads the operating system. It is initiated by a power button or by a reads software command. After the power button is on, the computer only read a part of Read Only Memory (ROM) and a small program begins executing from ROM called firmware. In older machines, this firmware was known as the BIOS (Basic Input/Output System). 

 

But more modern systems use UEFI (Unified Extensible Firmware Interface), which is more faster and makes better use of the facilities in contemporary processors. The firmware runs power-on self-test (POST)  to diagnostic, identifies many of the devices attached to the system and initializes them, and then builds the description used by the advanced configuration and power interface (ACPI). It initializes the CPU register, device controller, and content of the main memory after that it loads the operating system. 

 

Now boots manager gives an option to the user which operating system to run and set complex parameters for it. Now boot loader (Bootstrap loader) initialize (load) into memory and runs it by firmware or boot manager. This set of programs is placed in the operating system kernel like Linux or windows into RAM (main memory) and run it.

 

The kernel initializes itself and cremates two processes. The system process contains all the internal kernel threads which never executes in user mode. The first user-mode process cremated is session manager subsystems (SMSS) in WINDOWS and INIT (initialization) process in UNIX. 

 

Now it performs further initializations of the system, including establishing the paging file, loading more device drivers, and managing the operating system sessions to represent a logged-on user.