Friday 21 December 2012

Redhat Linux Boot Process

  • The system BIOS checks the system and launches the first stage boot loader on the MBR of the primary hard disk.
  • The first stage boot loader loads itself into memory and launches the second stage boot loader from the "/boot" partition.
  • The boot loader then place one or more appropriate "initramfs".
  • Once the kernel and the intiramfs image(s) are loaded into memory, the boot loader hands control of the boot process to the kernel.
  • Then kernel hands off the boot process to the "init" then "/sbin/init" program, and it coordinates the rest of the boot process and configures the environment for the user.
  • init > calls >/etc/rc.d/rc.sysinit
  • init > calls > /etc/inittab > runlevel
  • /etc/rc.d/rc<x>.d (As for the runlevel)
  • K (first) and then S, scripts.
  • K and S scripts, porints /etc/rc.d/init.d/..
  • init > calls > /etc/rc.d/rc.local
  • if runlevel 5 > /sbin/mingetty
  • /etc/inittab > /etc/X11/prefdm
  • login prompt.

No comments:

Post a Comment