Fundamentals 6 min read

How an Operating System Starts: From Power‑On to the Boot Loader

This article explains how a computer powers on, the CPU fetches initial instructions from firmware such as BIOS or UEFI, performs hardware checks, reads the MBR, runs first‑stage and second‑stage boot loaders, and finally loads the operating system kernel into memory.

IT Services Circle
IT Services Circle
IT Services Circle
How an Operating System Starts: From Power‑On to the Boot Loader

In this article, the author explains that an operating system, like any program, is stored on disk and must be loaded into memory to run.

When the power button is pressed, the CPU cannot fetch instructions from empty RAM, so it begins executing a small set of instructions stored in non‑volatile memory such as ROM, BIOS, or the newer UEFI firmware.

The firmware performs a power‑on self‑test (POST) to verify hardware, then searches for a boot device (usually a disk) and reads the first 512 bytes—the Master Boot Record (MBR).

The MBR contains a tiny boot loader program and a partition table; the boot loader copies itself into memory and, based on the partition information, loads a larger second‑stage boot loader.

The second‑stage loader can present a menu for multiple operating systems and finally loads the selected OS kernel into memory, after which the OS performs its own initialization and creates user‑mode processes.

Modern systems using UEFI may skip the MBR stage entirely, but the overall principle of firmware handing control to a boot loader remains the same.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

UEFIBIOSboot loadercomputer fundamentalsOS boot
IT Services Circle
Written by

IT Services Circle

Delivering cutting-edge internet insights and practical learning resources. We're a passionate and principled IT media platform.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.