Read-only memory (ROM) is similar to RAM, except that the data is hard wired into it. The data is non-volatile (it is preserved even when the power is off). It is also read only, which means that the CPU cannot change the data stored in the ROM.
Computer programs are stored on your disk as data files, just like any other file. When you run a program, the operating system loads the program file from disk into memory, and starts it running.
The operating system itself is also a program, stored on disk.
The question is, when the computer first starts up, how does it load the operating system from disk into memory? It can't use the operating system to load itself, because it can't run the operating system until after it has been loaded. And it can't rely on any other programs stored in RAM, because when the computer is first switched on, the RAM is empty.
In fact, the computer uses on a small program stored in ROM, containing just enough code to get the system running.
The BIOS ROM contains the code necessary to boot up the system. Since it is a ROM, the code is always available, even straight after powering the computer up.
BIOS stands for Basic Input/Output System. It usually contains the following:
When the CPU first powers up, it runs the BIOS code, which perform the hardware tests, and then loads and runs the operating system.
The software in the BIOS ROM is sometimes called firmware. This is because:
In modern computers, the BIOS is usually stored in Flash memory.
This memory behaves exactly the same as ROM - it is non-volatile and read-only. However, it is possible to rewrite the content of the Flash memory by accessing it in a special mode. This allows the firmware to be updated by the computer manufacturer, particularly if any security problems are found.
The term most likely comes from the word bootstrap. A bootstrap is literally a small leather loop on the back of a pair of boots which you can use to help pull the boots on. This led to an old expression, where you might tell someone to "lift themselves up by their own bootstraps", which of course is impossible to do. The expression is also sometimes used when someone achieves success, against all the odds, due to their own hard work. We might say that they pulled themselves up by their bootstraps.
Using a little bit of software stored in ROM to load up the main software fits in with this idea. So, probably as a joke, the software was called a bootstrap loader. The software pulls itself up by its bootstraps. And the name stuck.
So starting a computer involves running the bootstrap loader, and a short way to say this is booting the computer.
Copyright (c) Axlesoft Ltd 2021