SlideShare a Scribd company logo
1 of 20
CONTENTS
 Linux boot process
 Linux kernal
 Linux rootfs
 File systems
1
Linux boot process
 What is Booting?
 Booting is basically the process of starting the computer.
 It is a short form of bootstrapping.
 Bootstrapping usually refers to a self-starting
process that is supposed to proceed without
external input that is when the power
button is pressed CPU
starts its own process without
any human interference.
3
4
BIOS
 It is an initial test performed by the BIOS.
 POST (Power On Self Test).
 If any error occurs, the system produces a beep
sound.
 Loading MBR to RAM
5
MBR/EFI
BIOS assume that the boot device(hard disk/ SSD) start with the record called Master Boot
Record(MBR).
How BIOS see the the hard disk
MBR consists of 512 or more bytes located at the very beginning sector of the bootable device.
Boot block read the partitioning information from the MBR and identifies the disk partition marked as active and then
executes the second stage boot loader.
Below is a simplified structure of the MBR:
Bootsrap code : 446 bytes
partition table : 64 bytes
Boot signature : 2 bytes
6
GRUB/LILO
 If we have multiple kernal images installed on your system ,you
can choose which one to be executed.

 Each operating system has its own bootloaders.
 For example, GNU GRUB, LILO (Linux Loader), and rEFInd.
 Main job is to load kernal and init image into memory.
Kernal
 Initiate the kernel, the operating system now controls access to our
computer resources.
 Linux kernel follows a predefined procedure:
 decompress itself in place
 perform hardware checks
 gain access to vital peripheral hardware
 run the init process
 kernel initiates the init process, which starts the parent process.
 the parent of all Linux processes is “Systemd”
9
Linux Kernel
Core interface between a computer’s hardware and its processes.
Linux Kernel
Linux is kernel created in 1991 by Linus Torvalds
It’s been in constant development since then and is
now at version 6.2.0-36.
Its used in desktop,laptop,smartphones,servers and
Many other devices.
Free & Open Source : No need to pay
fast
Secure : Monolithic Kernel design
Scalability : From phones to super-computers
11
What is a Kernel ?
A computer needs both software and hardware to do
anything
There has to be a layer of softerware that operates
hardware at low lavel
It is the portion of the operating system code that is always
resident in memory and facilitates interactions between
hardware and software components
12
Kernel
A kernel is the core of the operating system
13
How does a kernel work?
The kernel responds to system calls ;
These are called by different parts of the operating system to get
The actual physical hardware to do things
For example, whenever you copile and run c code C library
uses system calls
14
What actualy kernel manages?
 Random-access memory
 Input/output devices
 Memory management
 Device management
 Process management
 System calls
15
Linux file-system
The Linux file system structure is a hierarchical arrangement of directories and files that defines
how data is organized and accessed in a Linux-based operating system.
Contents
of
rootfs
17
file-system
A file system is a set of processes that controls how, where and when
data is stored and retrieved from a storage device.
Filesystem
 structural way to store and access our files from the system
storage
 various types of filesystems:
 Ext (Extended Filesystem), Ext2, Ext3, Ext4
 JFS (Journaling Filesystem)
 Vfat
 Ubifs.
 tmpfs.
19
20

More Related Content

Similar to Linux boot process and kernel explained

Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!sourav verma
 
Bootloader and bootloading
Bootloader and bootloadingBootloader and bootloading
Bootloader and bootloadingArpita Gupta
 
Windows 1Fundaments.ppt
Windows 1Fundaments.pptWindows 1Fundaments.ppt
Windows 1Fundaments.pptkarthikvcyber
 
OS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.pptOS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.pptnaghamallella
 
Introduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.pptIntroduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.pptminaltmv
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentalsBimal Jain
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot processsagarpdalvi
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting ProcessGaurav Sharma
 
Windows booting
Windows bootingWindows booting
Windows bootinggirish1993
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot processHari Shankar
 

Similar to Linux boot process and kernel explained (20)

Linux booting process!!
Linux booting process!!Linux booting process!!
Linux booting process!!
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Bootloader and bootloading
Bootloader and bootloadingBootloader and bootloading
Bootloader and bootloading
 
Operating system.pptx
Operating system.pptxOperating system.pptx
Operating system.pptx
 
Operating system.pptx
Operating system.pptxOperating system.pptx
Operating system.pptx
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
OS full chapter.ppt
OS full chapter.pptOS full chapter.ppt
OS full chapter.ppt
 
Windows 1Fundaments.ppt
Windows 1Fundaments.pptWindows 1Fundaments.ppt
Windows 1Fundaments.ppt
 
OS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.pptOS-20210426203801 introduction to os.ppt
OS-20210426203801 introduction to os.ppt
 
OS-20210426203801.ppt
OS-20210426203801.pptOS-20210426203801.ppt
OS-20210426203801.ppt
 
Introduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.pptIntroduction and fundamentals of Operating System.ppt
Introduction and fundamentals of Operating System.ppt
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentals
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Linux booting Process
Linux booting ProcessLinux booting Process
Linux booting Process
 
Linux basics
Linux basics Linux basics
Linux basics
 
Linux booting sequence
Linux booting sequenceLinux booting sequence
Linux booting sequence
 
Windows booting
Windows bootingWindows booting
Windows booting
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 

Recently uploaded

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

Linux boot process and kernel explained

  • 1. CONTENTS  Linux boot process  Linux kernal  Linux rootfs  File systems 1
  • 3.  What is Booting?  Booting is basically the process of starting the computer.  It is a short form of bootstrapping.  Bootstrapping usually refers to a self-starting process that is supposed to proceed without external input that is when the power button is pressed CPU starts its own process without any human interference. 3
  • 4. 4
  • 5. BIOS  It is an initial test performed by the BIOS.  POST (Power On Self Test).  If any error occurs, the system produces a beep sound.  Loading MBR to RAM 5
  • 6. MBR/EFI BIOS assume that the boot device(hard disk/ SSD) start with the record called Master Boot Record(MBR). How BIOS see the the hard disk MBR consists of 512 or more bytes located at the very beginning sector of the bootable device. Boot block read the partitioning information from the MBR and identifies the disk partition marked as active and then executes the second stage boot loader. Below is a simplified structure of the MBR: Bootsrap code : 446 bytes partition table : 64 bytes Boot signature : 2 bytes 6
  • 7.
  • 8. GRUB/LILO  If we have multiple kernal images installed on your system ,you can choose which one to be executed.   Each operating system has its own bootloaders.  For example, GNU GRUB, LILO (Linux Loader), and rEFInd.  Main job is to load kernal and init image into memory.
  • 9. Kernal  Initiate the kernel, the operating system now controls access to our computer resources.  Linux kernel follows a predefined procedure:  decompress itself in place  perform hardware checks  gain access to vital peripheral hardware  run the init process  kernel initiates the init process, which starts the parent process.  the parent of all Linux processes is “Systemd” 9
  • 10. Linux Kernel Core interface between a computer’s hardware and its processes.
  • 11. Linux Kernel Linux is kernel created in 1991 by Linus Torvalds It’s been in constant development since then and is now at version 6.2.0-36. Its used in desktop,laptop,smartphones,servers and Many other devices. Free & Open Source : No need to pay fast Secure : Monolithic Kernel design Scalability : From phones to super-computers 11
  • 12. What is a Kernel ? A computer needs both software and hardware to do anything There has to be a layer of softerware that operates hardware at low lavel It is the portion of the operating system code that is always resident in memory and facilitates interactions between hardware and software components 12
  • 13. Kernel A kernel is the core of the operating system 13
  • 14. How does a kernel work? The kernel responds to system calls ; These are called by different parts of the operating system to get The actual physical hardware to do things For example, whenever you copile and run c code C library uses system calls 14
  • 15. What actualy kernel manages?  Random-access memory  Input/output devices  Memory management  Device management  Process management  System calls 15
  • 16. Linux file-system The Linux file system structure is a hierarchical arrangement of directories and files that defines how data is organized and accessed in a Linux-based operating system.
  • 18. file-system A file system is a set of processes that controls how, where and when data is stored and retrieved from a storage device.
  • 19. Filesystem  structural way to store and access our files from the system storage  various types of filesystems:  Ext (Extended Filesystem), Ext2, Ext3, Ext4  JFS (Journaling Filesystem)  Vfat  Ubifs.  tmpfs. 19
  • 20. 20