Post

Watch the concept๐Ÿ”ฅ๐Ÿค”, how Linux๐Ÿง works

 How Work Linux

Hereโ€™s a breakdown of the key components and processes involved

๐Ÿง Power On! โšก

This signifies the start of the process, when the computer is powered on.

๐Ÿง BIOS (Basic Input/Output System) & ROM (Read-Only Memory) ๐Ÿ’ป

BIOS is a firmware program stored in the ROM chip. It performs a Power-On Self Test (POST) to check the basic functionality of the system hardware and then loads the bootloader.

๐Ÿง Boot Loader ๐Ÿ”„

The bootloader is a small program that loads ํ•ด์‹œํƒœ๊ทธ#Linux ๐Ÿง kernel from the hard disk into memory.

๐Ÿง Master Boot Record (MBR) ๐Ÿ’พ

The MBR is the first sector of the hard disk and contains the boot loader code and a partition table.

๐Ÿง Kernel ๐Ÿง 

kernel is the core of the Linux operating system. It manages hardware resources (like memory and CPU), provides security, and allows applications to interact with the hardware.

๐Ÿง User Space (Applications) ๐Ÿ’ผ

This refers to the software programs that users interact with, such as web browsers, word processors, and games. These programs run in user space, which is isolated from the kernel for security reasons.

๐Ÿง System Calls ๐Ÿ“ž

System calls are a way for applications in user space to request services from the kernel. For instance, if an application wants to read a file from the hard disk, it would make a system call to the kernel.

๐Ÿง Process Management ๐Ÿ”„

The kernel is responsible for managing processes, which are instances of running programs. It allocates resources to processes, schedules their execution time, and handles their termination.

๐Ÿง Memory Management ๐Ÿง 

The kernel manages the systemโ€™s memory, allocating and freeing memory as needed by processes.

๐Ÿง Device Drivers ๐Ÿ–ฅ๏ธ

Device drivers are software programs that allow the kernel to communicate with specific hardware devices.

๐Ÿง File System Management ๐Ÿ—„๏ธ

The kernel manages the file system, which is a way of organizing and storing files on the hard disk.

๐Ÿง Shell (or Graphical User Interface (GUI))

The shell is a command-line interface that allows users to interact with the operating system by typing commands. Alternatively, a graphical user interface (GUI) provides a more user-friendly way to interact with the system using icons, menus, and windows.

This post is licensed under CC BY 4.0 by the author.