Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:the_boot_process [2011/08/04 11:11] – frimical | wiki:the_boot_process [2013/04/08 01:38] (current) – updated expansion of documentation of boot process xk2600 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ==== #The Boot Loader ==== | ==== #The Boot Loader ==== | ||
| - | There are a number of boot loaders in common use with TC. | + | There are a number of boot loaders in common use with TC. |
| - | + | ||
| ==== #General Boot Scripts ==== | ==== #General Boot Scripts ==== | ||
| Line 19: | Line 19: | ||
| ==== #SUMMARY: Scripts Sequence ==== | ==== #SUMMARY: Scripts Sequence ==== | ||
| - | [BootLoader -> bzImage -> ???core.gz] -> init -> inittab -> init.d/rcS -> tc-config -> ( bootlocal.sh) -> init -> / | + | [BootLoader -> bzImage -> tinycore.gz] -> init -> inittab -> init.d/rcS -> tc-config -> ( dhcp.sh & tce-setup & restore.sh & bootsync.sh -> bootlocal.sh) -> init -> / |
| + | |||
| + | Bootloader Process | ||
| + | - Load Linux Kernel within bzImage (vmlinuz) | ||
| + | - Load RootFS from initrd (core.gz) | ||
| + | - Start Kernel with parameters specified in bootloader command string (see TinyCore Config Process). | ||
| + | - Kernel Starts Init Process (/sbin/init -> / | ||
| + | |||
| + | Init Process (/sbin/init -> / | ||
| + | - Configuration from INITTAB (/ | ||
| + | - Defines SYSINIT script Location (/ | ||
| + | - Establishes TTY configuration | ||
| + | - Defines Script locations for restart, shutdown, etc. | ||
| + | - Starts SYSINIT (/ | ||
| + | - Mount /proc | ||
| + | - Mount /rootfs | ||
| + | - Mount FSTAB devices (/ | ||
| + | - Starts TinyCore Config Process (/ | ||
| + | |||
| + | TinyCore Config Process (/ | ||
| + | - Loads function library (/ | ||
| + | - Exports PATH Environment Variable | ||
| + | - Builds MODPROBE Blacklist Config (/ | ||
| + | * Adds all modules listed | ||
| + | - Populates | ||
| + | - Starts Loop Kernel Module (/ | ||
| + | - Creates Compressed Swap in RAM (/ | ||
| + | * Unless NOZSWAP specified in boot parameters | ||
| + | - Adds SCSI drives to fstab | ||
| + | * Unless NOFSTAB specified in boot parameters | ||
| + | - Starts SYSLOG (/ | ||
| + | * at location specified in RSYSLOG boot parameter | ||
| + | - Exports LANG Environment Variable | ||
| + | - Configures Timezone as specified in TZ boot parameter (/ | ||
| + | - Configures Real-Time Clock (/ | ||
| + | * Unless NOUTC boot parameter is specified | ||
| + | - Configures hostname (/ | ||
| + | - Configures Network Loopback (/ | ||
| + | - Configures ATA over Ethernet | ||
| + | - Create user named in USER boot parameter (/ | ||
| + | * default to 'tc' | ||
| + | - Create Base Directories for TCE Applications | ||
| + | - Load Remote Tiny Core Extensions | ||
| + | - TFTP URL defined in TFTPLIST boot parameter | ||
| + | - HTTP URL defined in HTTPLIST boot parameter | ||
| + | - Mount Filesystems | ||
| + | - NFS mount-point defined in NFSMOUNT boot parameter | ||
| + | - Network Block Device mount-point defined in NBD boot parameter | ||
| + | - TC Virtual Hard Drive defined in TCVD boot parameter | ||
| + | - Load LVM/RAID extensions specified in PRETCE boot parameter | ||
| + | - Setup Persistent ' | ||
| + | - Setup Persistent ' | ||
| + | - Enable Laptop functionality if LAPTOP boot parameter defined | ||
| + | - Disable Swap file if NOSWAP boot parameter defined | ||
| + | - Use swap file as defined in SWAPFILE boot parameter | ||
| + | - Attempt Restore from Hibernation from file defined in RESTORE boot parameter | ||
| + | - Configure Icon location or hide icons if NOICONS boot parameter is defined | ||
| + | - Load Local Tiny Core Extensions (/ | ||
| + | - process any .gzs files | ||
| + | - process tcz initrd builtins | ||
| + | - process regular tcz extensions | ||
| + | - process CD extensions | ||
| + | - process scm files | ||
| + | - Configure Key Mappings as defined in KEYMAP boot variable | ||
| + | * defaults to ' | ||
| + | - Configure root and user passwords | ||
| + | - Enable encryption of user store | ||
| + | - Configure XORG VESA Video Mode as defined in XVESA boot variable | ||
| + | - Start DHCP Process (/etc/init.d/dhcp.sh) | ||
| + | - Set Time via Real-Time Clock (/ | ||
| + | - Start CRON Process (/ | ||
| + | - Start Bootsync Process (/ | ||
| + | - Autologin as $USER if NOAUTOLOGIN boot parameter is NOT defined | ||
| + | - Pause completion of script execution if PAUSE boot parameter is defined | ||