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 10:44] – [#.xsession] frimical | wiki:the_boot_process [2013/04/08 01:38] (current) – updated expansion of documentation of boot process xk2600 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This document describes the default boot process. | + | This document describes the default boot process. |
==== #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 17: | Line 17: | ||
...the file " | ...the file " | ||
- | Summary: Script | + | ==== #SUMMARY: Scripts Sequence ==== |
+ | |||
+ | [BootLoader -> bzImage -> tinycore.gz] -> init -> inittab -> init.d/rcS -> tc-config -> ( dhcp.sh & tce-setup & restore.sh & bootsync.sh -> bootlocal.sh) -> init -> / | ||
+ | |||
+ | Bootloader Process (syslinux, lilo, grub) | ||
+ | - 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 | ||
+ | - Starts SYSINIT (/ | ||
+ | - Mount /proc | ||
+ | - Mount /rootfs | ||
+ | - Mount FSTAB devices (/ | ||
+ | - Starts TinyCore Config Process (/ | ||
- | init -> inittab | + | TinyCore Config Process (/etc/init.d/tc-config) |
+ | | ||
+ | - Exports PATH Environment Variable | ||
+ | - Builds MODPROBE Blacklist Config (/ | ||
+ | * Adds all modules listed in BLACKLIST boot parameter | ||
+ | - Populates /dev (/ | ||
+ | - Starts Loop Kernel Module (/ | ||
+ | | ||
+ | * 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 ' | ||
+ | - 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 (/usr/bin/tce-setup) | ||
+ | - process any .gzs files | ||
+ | - process tcz initrd builtins | ||
+ | - process regular tcz extensions | ||
+ | - process CD extensions | ||
+ | - process scm files | ||
+ | | ||
+ | * 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 | ||
+ | | ||
+ | | ||
+ | - Start Bootsync Process (/ | ||
+ | - Autologin as $USER if NOAUTOLOGIN boot parameter is NOT defined | ||
+ | - Pause completion of script execution if PAUSE boot parameter is defined |