On Wed, 20 Sep 2000, Selim Jahangir wrote:

> Dear All
> Can u please write the sequeneces of booting in Linux/Unix system.
> 
> What does actually do the "init" process ? 
> 

Well, I recently asked the very same question in the redhat-devel question,
and got some great help.  


When using initrd, the system boots as follows:

  1) the boot loader loads the kernel and the initial RAM disk
  2) the kernel converts initrd into a "normal" RAM disk and
     frees the memory used by initrd
  3) initrd is mounted read-write as root
  4) /linuxrc is executed (this can be any valid executable, including
     shell scripts; it is run with uid 0 and can do basically everything
     init can do)
  5) when linuxrc terminates, the "real" root file system is mounted
  6) if a directory /initrd exists, the initrd is moved there
     otherwise, initrd is unmounted
  7) the usual boot sequence (e.g. invocation of /sbin/init) is performed
     on the root file system




-------------------------------
Nitebirdz
http://www.linuxnovice.org
Your place for tips, news, etc.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to