User:Zem/BootProcess
From Openmoko
Contents |
UBoot
start Kernel
mount Rootfs
starting /sbin/init
which is a link to /sbin/init.sysvinit
init itself reads the /etc/inittab. The default runlevel is 5.
The runlevels are:
# Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot.
but first, init starts:
si::sysinit:/etc/init.d/rcS
which starts /etc/init.d/rc S which starts all links in runlevel S (Startup)
$ root@om-gta02 /etc $ ls /etc/rcS.d/ | cat
- S02hostname.sh
- S02mountkernfs.sh
- S03udev
- S04mountdevsubfs.sh
- S06alignment.sh
- S10checkroot.sh
- S20modutils.sh
- S30procps.sh
- S35mountall.sh
- S37populate-volatile.sh
- S40networking
- S43portmap
- S45mountnfs.sh
- S55bootmisc.sh
- S97blueprobe
- S99finish.sh