0% found this document useful (0 votes)
12 views5 pages

Step-by-Step Boot Process Explained

Uploaded by

uf5x8hqqcz
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views5 pages

Step-by-Step Boot Process Explained

Uploaded by

uf5x8hqqcz
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Week – 03: Introduction to Storage

1. Write down and explain the boot process step by step.

Explaining the boot process step by step as follows:

1. Power-on (Initial Power Supply)

• What happens: The moment the computer is powered on, electrical power is supplied to
the components of the computer, including the CPU, memory, and storage devices.

• Purpose: The hardware initializes and becomes operational.

2. Power-on Self-Test (POST)

• What happens: The system performs a POST, which is a diagnostic test to check if all the
essential hardware components (such as the CPU, RAM, keyboard, disk drives, etc.) are
functioning properly.

• Purpose: If any critical hardware fails, the system may emit error codes (beeps) or display
error messages on the screen.
3. BIOS/UEFI (Basic Input/Output System/Unified Extensible Firmware Interface)

• What happens: The BIOS or UEFI firmware, which is stored in the motherboard's ROM
(Read-Only Memory), takes over after POST. It provides an interface between the operating
system and the hardware.

• Identifies and configures hardware components


• Checks the hardware configuration
• Determines the boot order of storage devices (like hard drive, SSD, CD/DVD, USB,
network)
4. Bootloader (MBR or GPT)

• What happens: The BIOS/UEFI searches for a bootable device (hard drive, USB, optical
disk, etc.) based on the boot order set in the BIOS/UEFI settings. The bootloader is typically
located in the MBR (Master Boot Record) or the EFI partition (for UEFI systems).

o MBR (for BIOS systems): In this case, the BIOS looks for the MBR, which is the first
sector of the storage device. The MBR contains the bootloader and partition
information.

o GPT (for UEFI systems): UEFI looks for a specific EFI system partition (ESP) that
contains bootloaders in the form of executable files (e.g., [Link]).

• Purpose: The bootloader is responsible for loading the operating system kernel into
memory.

5. Kernel Initialization

• What happens: After loading the kernel into memory, the kernel initializes core OS
components like:

o Device drivers: These are necessary for interacting with hardware (disk drives,
video cards, network adapters, etc.).

o System processes and services: These are essential background processes that
the operating system requires to function.

• Purpose: The system is preparing for normal operation by ensuring all hardware is
recognized and configured properly and necessary services are running.

6. User Space Initialization - System Preparation The final boot stage involves complex service
management:

• Starts the init system (systemd in most modern Linux distributions)

• Launches system services and daemons

• Sets up user authentication systems


• Prepares graphical interfaces or command-line environments

• Loads user-specific configurations

• Starts background system monitoring processes

7. User Environment Initialization

• What happens: Once the user logs in, the operating system loads the user’s environment,
including:

o User-specific settings (e.g., desktop preferences, configurations).

o Launching of user applications and services.

• Purpose: The system is now ready for the user to begin interacting with it, running
programs, and utilizing resources.

8. System Ready for Use

• What happens: The system is now fully booted, and the user can begin using the computer
to run applications, access files, or perform any other tasks.

• Purpose: The boot process has completed, and the operating system is fully operational.

2. Explain the following terms.


a. RAM

• It is temporary storage for data and programs that are


being accessed by the CPU.
• The more RAM in a computer, the more capacity the
computer must hold and process large programs and files,
as well as enhance system performance.
• Types: SRAM, DRAM, SDRAM, DDR (1,2,3 and 4) RAM

Key Characteristics of RAM:

• Provides fast, immediate data access

• Allows random access to any memory location

• Serves as a short-term, high-speed working memory for the computer

• Significantly impacts system performance

Types of RAM:
• Dynamic RAM (DRAM): This is the most common type of RAM used in computers. It needs to
be constantly refreshed to maintain its data.

• Static RAM (SRAM): Faster and more reliable than DRAM, but also more expensive. It
doesn't need to be refreshed, and it’s commonly used for cache memory in processors.

• Other Variants: There are specialized versions like DDR (Double Data Rate) RAM, DDR2,
DDR3, DDR4, and DDR5, each offering faster speeds and improved power efficiency.

b. ROM

ROM is known as read only memory. It contains instructions that can be directly accessed by the
CPU. ROM are non-volatile.

c. MROM

MROM is known as Masked ROM. Data is physically written during the manufacturing process.

d. PROM

PROM is known as programable ROM. A type of ROM that can be programmed once after
manufacturing.

e. EPROM

EPROM is known as Erasable & programable ROM. ROM which can be erased & programmed. But is
erased using ultraviolet (UV) light.

f. EEPROM

EEPROM is known as Electrically. Erasable & programmable ROM. Similar to EPROM but allows fro
Electrical erasing & reprograming. Special programmer is used for reprogram.
3. Differentiate between Static RAM and Dynamic RAM.

Static-RAM Dynamic-RAM

It is faster than DRAM. It is slower than SRAM.

Uses transistor to store single bit of Uses capacitor to store each bit of data.
information.

Expensive Cheaper than SRAM

Cache Memory Main Memory

4. Differentiate between SATA Drive interface and PATA drive interface.

PATA Drive Interface SATA Drive Interface

40 pins with 40 wires or 80 wires 7 pin data cable, 15 pin cable

Speeds: 16MBps, 33MBps, 66MBps up to Speeds: 1.5Gbps, 3Gbps, 6Gbps and 16Gbps
133MBps

Master and salve configuration No master and slave configuration

You might also like