You are on page 1of 1

How to load OS into Ram

The action of loading OS into RAM is called Booting:


The CPU starts and fetches instructions into RAM from the BIOS, which is stored in
the ROM. The BIOS does some basic checks to make sure the computer is working
properly. For example, it will look for the RAM. The BIOS then starts the boot sequence.
It will look for the operating system. The BIOS will fetch the operating system from the
hard drive and load it into the RAM. The BIOS then transfers control to the operating
system.

Today’s way to load OS into RAM is two-stage process. A very small section of
memory is made of ROM and holds a small program called the bootstrap programWhen
the computer is turned on, the CPU counter is set to the first instruction of this bootstrap
program and executes the instructions in this program. This program is only responsible
for loading the operating system itself, or that part of it required to start up the computer,
into RAM memory. When loading is done, the program counter in the CPU is set to the
first instruction of the operating system in RAM and the operating system is executed.

You might also like