Linux System Initialization Script (/etc/rc.d/rc.sysinit)

The first script that init runs is /etc/rc.d/rc.sysinit. This script does several initialization tasks: (This description is based on the version shipped with RedHat Advanced Server.)
  1. Start the devfs daemon if devfs is used
  2. Mount the /proc filesystem
  3. Issue a "welcome" message to the console
  4. Set the console log level
  5. Unmount initrd
  6. Set the system clock
  7. Set the hostname
  8. Initialize the USB (Universal Serial Bus) controller and HID (Human Interface Device) components
  9. In the case of an unclean shutdown, run fsck on the root partition
  10. Remount the root filesystem read/write
  11. Initialize the LVM (Logical Volume Manager)
  12. Activate swap partitions
  13. Clear and re-initialize /etc/mtab
  14. If it exists, run /etc/rc.modules to load modules
  15. If VxVM (VERITAS Volume Manager) is installed, start it
  16. Check non-root filesystems
  17. Mount other filesystems
  18. Start the graphical boot display program
  19. Check filesystem quotas
  20. Run a number of initiallization scripts, if present
    1. /usr/sbin/kbdconfig
    2. /usr/sbin/passwd
    3. /usr/sbin/netconfig
    4. /usr/sbin/timeconfig
    5. /usr/sbin/authconfig
    6. /usr/sbin/ntsysv
  21. Delete some lock files
  22. Initialize the serial ports
  23. Handle SCSI tape
  24. Load USB storage
  25. Start the firewall

Return to the Linux System Initialization page.

Return to main PC Boot Sequence page

Return to my writing page

Return to my home page