Operating Systems and File Management
Purpose of an Operating System
An operating system (OS) is responsible for operating the hardware within a computing device.
This includes managing:
The Central Processing Unit (CPU)
Memory (RAM)
Display
Other peripherals and devices
Even devices like Smart TVs have operating systems, often based on Linux or UNIX. The OS acts
as an intermediary between the hardware and the applications that run on the device.
The general structure of an OS can be visualized as:
Hardware: The physical components of the computer (CPU, memory, devices).
Kernel: The core portion of the OS responsible for managing hardware resources.
Applications: Software programs that utilize the hardware through the OS.
Memory Management (Brief Review)
Memory is a crucial component managed by the OS. Key types of memory include:
RAM (Random Access Memory): Volatile memory; data is lost when power is removed.
Cache: Temporary storage used for frequently accessed data, found within the CPU and for
file system properties.
Virtual Memory: An OS technique that uses hard drive space to extend available RAM when
physical RAM is full.
ROM (Read-Only Memory): Non-volatile memory, though modern ROM can be flashed
(rewritten).
The Boot Process
The boot process is the sequence of steps a computer takes to start up and load the operating
system.
1. Power On: The user initiates the process by pressing the power button. The power supply unit
(PSU) begins delivering the necessary voltages to the motherboard.
2. BIOS/UEFI Initialization: The system's firmware (BIOS or UEFI) on the motherboard takes
control.
3. POST (Power-On Self-Test): The BIOS/UEFI performs a diagnostic check of essential
hardware components to ensure they are present and functioning correctly. This includes
checking the CPU and memory. If critical hardware is missing or faulty (e.g., no RAM installed),
the POST will fail, and the computer will not boot.
4. Bootstrapping: The firmware locates a boot loader program. In modern systems, this process
is often seamless and integrated within the POST.
5. Loading the Operating System: The boot loader then loads the operating system's kernel from
a secondary storage device (typically the hard drive, often referred to as the C: drive).
6. System Configuration and Startup Programs: The OS loads its system configuration, starts
necessary services, and launches any programs configured to run at startup. This can include
drivers and applications.
Note on Startup Programs: Many startup programs and services (e.g., manufacturer-specific
checks for driver updates) consume system resources. Users may consider disabling
unnecessary startup items to improve performance, especially on less powerful machines.