The boot process in solaris comprises of mainly five stages
1. Boot PROM Phase : The boot PROM runs the (POST) Power On Self Test
to test the hardware like Ram,Keyboard , Cpu ,Ethernet Adress and Host Id
etc. Boot PROM reads the primary boot program Bootblk [Sector 1-15]
and executes it.
2. Boot Program Phase : Bootblk loads the secondary boot program
i-e ufsboot into the memory. Ufsboot reads and loads the kernel .
The Kernel is composed of two parts
a). Unix (Platform specific kernel)
b). Genunix (Platform independent Kernel)
Ufsboot combines these two kernels into one complete kernel
and loads into memory.
3. Kernel Initialization Phase : The kernel reads the configuration
file /etc/system.Kernel initialises itself and loads the kernel modules.
The modules usually resides in /Kernel and /usr/kernel directories.
4. Init Phase : Kernel starts the /etc/init daemon(with PID 1) .The
/etc/init daemon starts the svc.startd process which is
responsible for starting and stopping the services.The /etc/init
daemon uses a file called /etc/inittab to boot up the system
to appropriate run level mentioned in this file.
5. Svc.startd Phase : After kernel starts the svc.startd daemon
executes rc scripts present in /sbin directory based upon the
run level.
For more details please refer to: Click Here
Comments
Post a Comment