Stages of booting:
Firmware
The role of the firmware
The role of the firmware is to :
- detect memory
modules and external devices,
- set clock speeds
and monitor fans,
- perform a system test to verify
that all hardware is functioning (Power-On Self
Test (POST)) etc.
MBR
– When the BIOS has performed the initial testing of the
system it will locate the primary disk and read the first
segment of 512 bytes.
– This segment is called the Master Boot Record (MBR).
– The BIOS does not know anything about file systems so
one can only place the master boot record at a well
defined position on disk.
– The master boot record is a very small program that will
almost immediately start to read a larger program from
disk.
Boot loader
– The master boot record is a very small program that will
almost immediately start to read a larger program from
disk.
* This could be an embedded program or an operating system but
in most cases it is something called a boot loader
- The boot loader (also called boot manager) is
generally a small program that places the operating
system of a computer into memory or RAM.
Boot loader focuses on
It focuses on loading and starting the boot-time
tasks and processes found within the operating
system.
Once the boot loader has determined which
operating system to start, …
Operating System
– The operating system will start by taking control
over the hardware.
– It will move to 64-bit mode (if that is not already
done), create a stack, set up the interrupt
descriptor table, initialize virtual memory etc.
– It will then organize the task scheduler, the file
system and hundreds of other things before it
launches services for users to access
Types of Booting
– Cold Booting
– Warm Booting
Cold Booting
– A cold boot is also called a hard boot.
– It is the process when we first start the computer.
– In other words, when the computer is started from
its initial state by pressing the power button it is
called cold boot.
– The instructions are read from the ROM and the
operating system is loaded in the main memory
Warm Booting
– Warm Boot is also called soft boot.
– It refers to when we restart the computer.
– Here, the computer does not start from the initial
state.
– When the system gets stuck sometimes it is
required to restart it while it is ON.
– Therefore, in this condition, the warm boot takes
place.
– Restart button or CTRL+ALT+DELETE keys are used
for warm boot