Boot Process

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Boot Process as PDF for free.

More details

  • Words: 277
  • Pages: 7
1

1

Boot Phases

Hardware Boot

Boot Loader

BIOS Initialization Performs first POST If all H/W connectivity is correct gives a healthy beep. Boot Strap Find s the device from where to boot :- Floppy - CDrom - Harddisk

Kernel

Init

Login Screen

2

2

Boot Phases

Hardware Boot

Boot Loader

Active Partition Partition Information

2 Bytes 64 Bytes

Boot Loader Initialization - Grub

Kernel

Init

Stage 1

Stage 2

Sector of Stage 2

kernel - vmlinuz Initrd....img

Login Screen

3

3

Boot Phases

Hardware Boot

Boot Loader

Kernel

Kernel initializes the devices It mounts the root file system (/) It start first process init process (/sbin/init)

Init

Login Screen

4

4

Boot Phases

Hardware Boot

Boot Loader

Kernel

Init

Login Screen

Init reads /etc/inittab This file contains what programs or services should be run at different run levels : init init init init

0 1 2 3

init 4 init 5 init 6

shutdown single user mode multiuser mode + multiuser mode + for all services (unused) multiuser mode + Fullsupport for all restart or reboot

only text + No support for NFS only text + Full Support text mode+ GUI + services 5

5

Boot Phases

Hardware Boot

Boot Loader

Kernel

Init

Login Screen

Local host login :

6

6

To Manage Services

To Todisplay displaystatus statusof of all allservices services [root@comp1 ~]#chkconfig --list [root@comp1 ~]#chkconfig --list

To Todisplay displaystatus statusof of particular particularservice service [root@comp1 [root@comp1~]#chkconfig ~]#chkconfig --list --listnetwork network

To Tochange changeservices servicesat atcertain certainRunlevel Runlevel [root@comp1 [root@comp1~]#chkconfig ~]#chkconfig --level --level2345 2345 <service> <service>

To Tostart start//stop stopany anyservice service temporarily temporarily [root@comp1 [root@comp1~]#service ~]#service <service <servicename> name> <start/stop/restart> <start/stop/restart> 7

7

Related Documents

Boot Process
October 2019 16
Boot Process Tech
November 2019 16
Linux Boot Process
April 2020 10
Linux Boot Process
November 2019 22
Boot
December 2019 30