Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:system_start_and_boot-codes [2016/05/09 04:09] – [Suggested readings] nitram | dcore:system_start_and_boot-codes [2017/09/25 06:49] (current) – [Check boot-parameters] sm8ps | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Boot Process and Boot Codes ====== | + | ====== |
An indepth review of the boot process, including relevant scripts and a boot code summary. The version used for this review was dCore-trusty, | An indepth review of the boot process, including relevant scripts and a boot code summary. The version used for this review was dCore-trusty, | ||
===== Suggested Readings ===== | ===== Suggested Readings ===== | ||
Although primarily related to Tiny Core, The following resources contain excellent material to help understand the boot process: | Although primarily related to Tiny Core, The following resources contain excellent material to help understand the boot process: | ||
- | * A detailed over-view | + | * Detailed overview |
- | * [[http://distro.ibiblio.org/ | + | * The [[http://tinycorelinux.net/book.html|Into the Core book]] is a thorough introduction |
- | * An explanation of the most common | + | * Tiny Core' |
- | * For comparison: a list of TinyCore-[[wiki: | + | * Tiny Core' |
- | =====Early | + | ===== Early Boot ===== |
- | The boot-loader dumps the chosen kernel into RAM and let's it do its thing. Among many other things, it unpacks the specified initial RAM disk and hands control over to the init script on the initrd. This is where we shall begin with our study. | + | The [[https:// |
- | The boot-codes are available in the full boot stanza from '/ | + | The boot codes are available in the full boot stanza from '/ |
====' | ====' | ||
Line 106: | Line 106: | ||
*Standard procedures, after which control is passed to '/ | *Standard procedures, after which control is passed to '/ | ||
- | =====dCore | + | =====dCore |
This script stretches out over several hunderd lines of code. We shall dissect it in smaller chunks. | This script stretches out over several hunderd lines of code. We shall dissect it in smaller chunks. | ||
Line 143: | Line 143: | ||
- | ====Check boot parameters==== | + | ====Check boot-parameters==== |
- | - check the boot stanza for boot-codes with values and store them as variables, with the appropriate value, if applicable. | + | - check the boot-stanza for boot-codes with values and store them as variables, with the appropriate value, if applicable. |
- | - check the boot stanza for boot-codes without values and store them as variables of value 1. | + | - check the boot-stanza for boot-codes without values and store them as variables of value 1. |
Thus we have the following list of boot-codes and variables with values: | Thus we have the following list of boot-codes and variables with values: | ||
Line 186: | Line 186: | ||
* **multivt** and **noembed** in ' | * **multivt** and **noembed** in ' | ||
- | * **lst** (TARGETLIST, | + | * **lst** (TARGETLIST, |
+ | === Kernel boot-parameters === | ||
+ | Additional boot-codes have been treated by the kernel at boot-time already. One [[http:// | ||
==== Starting the work ==== | ==== Starting the work ==== | ||
Line 498: | Line 500: | ||
- | =====Shell | + | =====Shell |
A login shell first reads commands from the files '/ | A login shell first reads commands from the files '/ | ||
Line 590: | Line 592: | ||
- (commented out) start an Xterm as a background process. | - (commented out) start an Xterm as a background process. | ||
+ | === Auto-start files === | ||
+ | Note that files under ' | ||
====Log-console==== | ====Log-console==== | ||
Line 602: | Line 605: | ||
*acts as a log console | *acts as a log console | ||
- | **[[http:// | + | **[[http:// |