Sarah · Rob
Something has to go first.
Sarah asks a reasonable question: if the operating system is a program on the drive, what loads it?
Something has to run first.
Rob says that’s the bootstrap problem, and it’s why there’s a little program built into the motherboard that runs before anything else.
The short answer
The firmware: a little program in a chip on the motherboard. It tests the hardware, shows the logo and looks for a drive with a bootloader to hand off to. On Grandma Ruth’s laptop it’s doing all that perfectly now. It just can’t find anything to hand off to.
Try it yourself
Put the start-up relay in order, from pressing the button to the login screen.
Tap the pieces in order. Tap one again to take it back.
What you just did has a name
Firmware
Firmware is software built into a chip on the motherboard that runs the instant the computer gets power.
On PCs it used to be called the BIOS; modern computers use a newer kind called UEFI, though people still say BIOS.
It runs the self-test, sets up the hardware, then looks for a drive with something to start, and hands control to it.
It’s the first runner in the relay.
A few more things
Why it’s called booting
From “pulling yourself up by your own bootstraps,” an impossible-sounding trick. A computer starts itself with a tiny program that loads a bigger one, which loads a bigger one.
The setup screen
Pressing a key like F2 or Delete right at start opens the firmware’s own settings: the clock, the boot order, security options. This module’s Fix-It Card lists the common keys.
Secure Boot
Modern firmware can check that the next program in the relay is signed and trusted before running it, so malware can’t sneak in before the operating system. That’s Secure Boot.
Go deeper
The longer version, if you want it.
Why firmware is stored separately
The firmware lives on its own small flash chip on the motherboard, not on the main drive. That way the computer can start, test itself and show a setup screen even with no drive installed at all, or a brand-new empty one.
It’s also why firmware updates are treated carefully. If one is interrupted halfway, the first runner in the relay is broken and nothing else can start.
Quick check
What is the firmware’s job when you press the power button?
Let’s take it slower
Think of a relay race. The first runner can only run one leg: get off the blocks and hand the baton to the second. The firmware is that first runner. It doesn’t know the whole course. It just has to get going and find the next runner, the bootloader, who knows how to start the operating system.
More examples
The maker’s logo
The logo you see when a laptop starts is shown by the firmware, before Windows or macOS has started at all.
Booting from a USB stick
Tell the firmware to look at a USB stick first and it hands off to whatever is on the stick instead of the drive. That’s how people install a new operating system.
Back to the question
So what runs before Windows starts?
Show the answer
The firmware: a little program in a chip on the motherboard. It tests the hardware, shows the logo and looks for a drive with a bootloader to hand off to. On Grandma Ruth’s laptop it’s doing all that perfectly now. It just can’t find anything to hand off to.
One last question
Which of these would you trust?
“The firmware runs before the operating system.”
“The firmware is stored on the main drive.”
“The maker’s logo at start-up comes from the firmware.”
“BIOS and UEFI are kinds of firmware.”
Talk Card
Talk Card · 15.2
The first program that runs isn’t Windows. It’s a little one built into the motherboard that checks the hardware and then goes looking for Windows.
How Computers Work · pettigrewlab.com/learn

