Q.When a computer is turned on, who brings the OS into RAM from the secondary storage?
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →The boot loader (bootstrap program), a small program permanently stored in ROM as part of the BIOS/UEFI firmware, copies the operating system from secondary storage into RAM at power-on — this process is called booting.
The idea — why a separate loader is needed at all. The operating system lives on secondary storage (hard disk / SSD) because that is the only memory that survives power-off. But the CPU can execute instructions only from RAM, and RAM is empty (volatile) when the machine is switched on. So something that is already in a permanent, executable memory must run first and bring the OS in. That "something" is the boot loader.
Step-by-step: what happens when you press the power button
- Power on — the CPU automatically starts executing the firmware program (BIOS or, on modern machines, UEFI) stored in ROM on the motherboard. ROM is non-volatile, so this program is always there.
- POST (Power-On Self Test) — the firmware checks that essential hardware (RAM, keyboard, storage, display) is present and working.
- Locate the OS — the firmware finds the bootable secondary storage device and reads the boot loader program from it (traditionally from the boot sector / boot partition).
- Load the OS into RAM — the boot loader copies the operating system kernel from the disk into RAM.
- Hand over control — the boot loader jumps to the kernel's starting address; the OS initialises devices, starts system services, and finally shows you the login screen/desktop. …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.