SlideShare a Scribd company logo
Understanding System Initialization
Hardware Initialization  After PC-type computer started: CPU initializes itself Sends signals to control other parts of computer BIOS performs power-on self test (POST) Checks memory and other hardware BIOS sends signal to SCSI controller card telling it to initialize itself SCSI controllers usually contain own BIOS
Hardware Initialization (continued) After PC-type computer started (continued): Other hardware components instructed to initialize themselves BIOS determines which devices to search for operating system BIOS loads boot loader into memory and passes control it
Hardware Initialization (continued)
The Boot Loader Boot loader or boot manager Small program loaded by BIOS Commonly used  LILO (Linux loader)  GRUB (grand unified boot loader) Default on most systems BIOS looks for executable program in first sector of 3.5-inch disk or CD-ROM
The Boot Loader (continued)
Starting the Kernel Initial piece of kernel  Loads rest of kernel into memory  Uncompresses it dmesg command  View messages stored by kernel during boot process
Starting the Kernel (continued) Kernel ring buffer Area of memory  Stores messages from kernel
Configuring Boot Loaders Configuration files  Created by installation program  Examine how boot loader operates Usually no need to change
Using GRUB Installed by default for many versions of Linux /boot/grub/grub.conf Configuration file for GRUB Similar in layout and syntax to lilo.conf
init and its Scripts init program  Master control program  Starts many other programs Runs scripts to initialize system services Controlled by /etc/inittab configuration file Three main configuration files located in /etc/rc.d rc.sysinit rc rc.local
Understanding Run Levels Run level  Numbered mode of operation  Preconfigured set of services is activated Defined in /etc/inittab file Default run level 5 init or telinit command Change to different run level Commonly done only to restart or halt system
Understanding Run Levels (continued)
Understanding rc Scripts rc script  Located in /etc/rc.d directory  Started with parameter that includes run level  Starts appropriate system services based on selected run level Each run level is associated with subdirectory Located in /etc/rc.d directory
Understanding rc Scripts (continued) Each file begins with K or S followed by two-digit number Begin with K ―s topped (killed) Begin with S ―s tarted Files symbolic links to scripts that stop and start services
Understanding rc Scripts (continued)
Controlling Services Many services listed in run-level directories relate to networking Scripts allow user to change almost anything on Linux system without restarting computer
Configuring System Services Initialization scripts in /etc/rc.d/init.d Typically use configuration information located in /etc/sysconfig directory and subdirectories Files in /etc/sysconfig  Named for services Each file contains name-value pairs  Define configuration options for service

More Related Content

PPTX
System calls
PDF
System calls
PDF
Part 04 Creating a System Call in Linux
PPT
Unix.system.calls
PPTX
System call
PPTX
system management -shell programming by gaurav raikar
PPT
System call
PPT
Introduction to System Calls
System calls
System calls
Part 04 Creating a System Call in Linux
Unix.system.calls
System call
system management -shell programming by gaurav raikar
System call
Introduction to System Calls

What's hot (20)

PDF
LINUX System Call Quick Reference
PPTX
services and system calls of operating system
PPTX
How To Add System Call In Ubuntu OS
PPTX
System call
PPTX
Linux Run Level
PDF
Studying a decade of Linux system calls
PPTX
MNG302_Goncalves
PPTX
operating system calls input and output by (rohit malav)
PPT
WinCE
PPT
Structure of operating system
PPT
PPT
Chapter 01 New
DOCX
Historia de los sistemas operativos antiguos
PDF
N_Asm Assembly system calls (sol)
ODP
Basics of boot-loader
PPT
Chapter 01
PPT
Chapter 01
PPT
07 wsos – user guide
LINUX System Call Quick Reference
services and system calls of operating system
How To Add System Call In Ubuntu OS
System call
Linux Run Level
Studying a decade of Linux system calls
MNG302_Goncalves
operating system calls input and output by (rohit malav)
WinCE
Structure of operating system
Chapter 01 New
Historia de los sistemas operativos antiguos
N_Asm Assembly system calls (sol)
Basics of boot-loader
Chapter 01
Chapter 01
07 wsos – user guide
Ad

Viewers also liked (20)

PPTX
DataKraft - Powerful No-Coding Platform for Business Applications
PPTX
Data Mining The Sky
PPT
Wisconsin Fertility Institute: Injection Class 2011
PDF
Cinnamonhotel saigon 2013_01
PPTX
Probability And Its Axioms
PPTX
Matlab Text Files
PPTX
Data Applied:Tree Maps
PPT
HistoriografíA Latina LatíN Ii
PPTX
Public Transportation
PPTX
Classification
PPTX
R Environment
PPTX
Data Applied:Decision Trees
PPTX
Knowledge Discovery
PPTX
RapidMiner: Nested Subprocesses
PPTX
Classification Continued
PPTX
BI: Open Source
PPTX
RapidMiner: Setting Up A Process
ODP
Presentazione oroblu
DataKraft - Powerful No-Coding Platform for Business Applications
Data Mining The Sky
Wisconsin Fertility Institute: Injection Class 2011
Cinnamonhotel saigon 2013_01
Probability And Its Axioms
Matlab Text Files
Data Applied:Tree Maps
HistoriografíA Latina LatíN Ii
Public Transportation
Classification
R Environment
Data Applied:Decision Trees
Knowledge Discovery
RapidMiner: Nested Subprocesses
Classification Continued
BI: Open Source
RapidMiner: Setting Up A Process
Presentazione oroblu
Ad

Similar to System Init (20)

PPTX
Linux startup
PPTX
Linux booting process - Linux System Administration
DOCX
6 stages of linux boot process
DOC
6 stages of linux boot process
PPT
Ch04 system administration
PPT
Linux Booting Process
PDF
Linux booting procedure
PPT
Linux booting procedure
PPT
Linux Booting Procedure system and networking.ppt
PPTX
Linux booting process!!
PPTX
introduction to computer Linux essential.pptx
DOCX
6 stages of linux boot process
DOCX
6 stages of linux boot process
PPTX
Order of boot process in Linux
PPT
Unix Administration 2
PDF
Know thyubuntu
PDF
Linux basics 1/2
PPTX
Linux basics
PPTX
Linux Boot Process
PDF
01 boot process
Linux startup
Linux booting process - Linux System Administration
6 stages of linux boot process
6 stages of linux boot process
Ch04 system administration
Linux Booting Process
Linux booting procedure
Linux booting procedure
Linux Booting Procedure system and networking.ppt
Linux booting process!!
introduction to computer Linux essential.pptx
6 stages of linux boot process
6 stages of linux boot process
Order of boot process in Linux
Unix Administration 2
Know thyubuntu
Linux basics 1/2
Linux basics
Linux Boot Process
01 boot process

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation theory and applications.pdf
PPT
Teaching material agriculture food technology
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Monthly Chronicles - July 2025
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
A Presentation on Artificial Intelligence
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation theory and applications.pdf
Teaching material agriculture food technology

System Init

  • 2. Hardware Initialization After PC-type computer started: CPU initializes itself Sends signals to control other parts of computer BIOS performs power-on self test (POST) Checks memory and other hardware BIOS sends signal to SCSI controller card telling it to initialize itself SCSI controllers usually contain own BIOS
  • 3. Hardware Initialization (continued) After PC-type computer started (continued): Other hardware components instructed to initialize themselves BIOS determines which devices to search for operating system BIOS loads boot loader into memory and passes control it
  • 5. The Boot Loader Boot loader or boot manager Small program loaded by BIOS Commonly used LILO (Linux loader) GRUB (grand unified boot loader) Default on most systems BIOS looks for executable program in first sector of 3.5-inch disk or CD-ROM
  • 6. The Boot Loader (continued)
  • 7. Starting the Kernel Initial piece of kernel Loads rest of kernel into memory Uncompresses it dmesg command View messages stored by kernel during boot process
  • 8. Starting the Kernel (continued) Kernel ring buffer Area of memory Stores messages from kernel
  • 9. Configuring Boot Loaders Configuration files Created by installation program Examine how boot loader operates Usually no need to change
  • 10. Using GRUB Installed by default for many versions of Linux /boot/grub/grub.conf Configuration file for GRUB Similar in layout and syntax to lilo.conf
  • 11. init and its Scripts init program Master control program Starts many other programs Runs scripts to initialize system services Controlled by /etc/inittab configuration file Three main configuration files located in /etc/rc.d rc.sysinit rc rc.local
  • 12. Understanding Run Levels Run level Numbered mode of operation Preconfigured set of services is activated Defined in /etc/inittab file Default run level 5 init or telinit command Change to different run level Commonly done only to restart or halt system
  • 14. Understanding rc Scripts rc script Located in /etc/rc.d directory Started with parameter that includes run level Starts appropriate system services based on selected run level Each run level is associated with subdirectory Located in /etc/rc.d directory
  • 15. Understanding rc Scripts (continued) Each file begins with K or S followed by two-digit number Begin with K ―s topped (killed) Begin with S ―s tarted Files symbolic links to scripts that stop and start services
  • 17. Controlling Services Many services listed in run-level directories relate to networking Scripts allow user to change almost anything on Linux system without restarting computer
  • 18. Configuring System Services Initialization scripts in /etc/rc.d/init.d Typically use configuration information located in /etc/sysconfig directory and subdirectories Files in /etc/sysconfig Named for services Each file contains name-value pairs Define configuration options for service