What happens when we turn on computer? (original) (raw)

Last Updated : 14 Apr, 2026

A computer without a running program is nothing more than an inert collection of electronic components. The true magic begins the moment we press the power button, a chain reaction of events unfolds from hardware checks to firmware initialization, boot loader execution, and operating system startup.

system_startup

System Startup

**Note: The boot process may be invisible to most users, but it is one of the most critical foundations of modern computing.

Steps of Boot Process

Behind the scenes, a series of well-defined steps take place that bring the system from an inactive state to a fully functional machine running its operating system (OS). This sequence is known as the boot process.

1. Power Supply Initialization

The process begins when the power supply unit (PSU) sends electricity to the computer’s essential components such as:

**Note: At this stage, the components receive stable power so they can operate correctly.

2. BIOS/UEFI Startup and POST

Modern computers contain a BIOS (Basic Input/Output System) or UEFI (Unified Extensible Firmware Interface) firmware chip. This firmware is responsible for:

3. Loading the Boot Loader (MBR and UEFI Process)

Once POST completes successfully, the BIOS/UEFI looks for a bootable device based on the configured boot order (hard drive, USB, DVD, etc.).

basic_mbr_disk

Basic MBR Disk

**Example:

**Note: The job of the boot loader is to load the actual operating system kernel into memory.

4. Kernel and Init Process

After the boot loader runs, the OS kernel is loaded into RAM. The kernel is the core of the operating system and performs tasks such as:

**Example:

**Note: Modern systems often use systemd or upstart instead of the traditional SysV init.

5. Starting System Services and Daemons

The init/systemd process then launches background services known as daemons, such as:

**Note: At this point, the system either displays a login screen (GUI) or a command-line login prompt.

6. User Login and Desktop Environment

Finally, after the user logs in, the OS loads the desktop environment (such as Windows Desktop, macOS Finder, or Linux GNOME/KDE). This gives the user a graphical interface to interact with applications and the underlying hardware.

Functions of BIOS/UEFI During Boot