Lesson 5 of 60 beginner

Boot Process & Firmware

From power button to login screen

Open interactive version (quiz + challenge)

Real-world analogy

Booting is like opening a theater before a show: lights on, doors unlocked, staff check themselves, tickets loaded, seats ready, doors open to the audience. If any step fails, the show doesn’t start — and you have to know which person to talk to.

What is it?

The boot process is a sequence: firmware (BIOS/UEFI) initializes hardware, reads the boot device, loads the bootloader, which loads the OS kernel, which starts drivers, services, and finally presents a login screen. A stall at any stage tells you exactly where to look.

Real-world relevance

A corporate laptop won’t boot after a power outage. A junior recognizes ‘Automatic Repair loop’ as an OS integrity issue, boots to WinRE, runs startup repair + bootrec commands, and captures logs — instead of reinstalling Windows and destroying user data.

Key points

Code example

// The full boot chain (Windows example)

Power on
  |
  v
Firmware (BIOS / UEFI) runs POST
  |
  v
Firmware reads boot order -> finds a valid boot device
  |
  v
Bootloader (bootmgr / Windows Boot Manager) loads
  |
  v
Kernel (ntoskrnl.exe) + HAL load drivers
  |
  v
Session Manager (smss.exe) starts
  |
  v
Services start (Winlogon, LSA, etc.)
  |
  v
Login screen appears

Line-by-line walkthrough

  1. 1. Boot chain diagram
  2. 2. Power on — signal reaches firmware
  3. 3. POST — hardware self-check
  4. 4. Firmware picks a boot device from the ordered list
  5. 5. Bootloader is located and loaded
  6. 6. Kernel and hardware abstraction layer load
  7. 7. Session Manager spawns
  8. 8. Services come up
  9. 9. Login screen is rendered

Spot the bug

User reports: 'Laptop shows Automatic Repair loop every morning. I keep cancelling it.'
Need a hint?
Cancelling means you never let the OS attempt repair. What should you do BEFORE reinstalling?
Show answer
Let Automatic Repair finish. If it still fails, boot into WinRE, run Startup Repair, then bootrec /rebuildbcd, /fixmbr, /fixboot if appropriate. Check disk health (SMART/chkdsk). Only reinstall after confirming disk is healthy and data is backed up. Document steps in the ticket.

Explain like I'm 5

A computer starts like an airport in the morning: staff check everything, the runway opens, the plane (Windows) is cleared to land. If the runway isn’t ready, the plane waits. That waiting is your boot error message.

Fun fact

Early PCs took so long to POST that engineers added beep codes specifically to tell you which component failed — because there was no screen output yet. Beep codes are still useful on modern enterprise hardware.

Hands-on challenge

Reboot your own PC and enter UEFI setup (often F2/F10/F12/DEL). Without changing anything, note: firmware version, boot order, Secure Boot state, TPM state. Exit without saving. You just performed the first step of a real hardware triage.

More resources

Open interactive version (quiz + challenge) ← Back to course: IT Jobs Bootcamp