Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dcore:system_start_and_boot-codes [2016/05/09 04:20] – [Suggested Readings] nitramdcore:system_start_and_boot-codes [2017/09/25 06:49] (current) – [Check boot-parameters] sm8ps
Line 6: Line 6:
   * The [[http://tinycorelinux.net/book.html|Into the Core book]] is a thorough introduction to Tiny Core   * The [[http://tinycorelinux.net/book.html|Into the Core book]] is a thorough introduction to Tiny Core
   * Tiny Core's [[wiki:boot_codes_explained|boot codes explained]]   * Tiny Core's [[wiki:boot_codes_explained|boot codes explained]]
-  * A comparison list of [[wiki:boot_options|Tiny Core boot codes]]+  * Tiny Core'[[wiki:boot_options|boot codes]]
 ===== Early Boot ===== ===== Early Boot =====
  
Line 106: Line 106:
   *Standard procedures, after which control is passed to '/etc/init.d/tc-config' which will do the bulk of work.   *Standard procedures, after which control is passed to '/etc/init.d/tc-config' which will do the bulk of work.
  
-=====dCore taking over: '/etc/init.d/tc-config'=====+=====dCore Takes Over: '/etc/init.d/tc-config'=====
  
 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 'init' (on initrd) as seen above   * **multivt** and **noembed** in 'init' (on initrd) as seen above
-  * **lst** (TARGETLIST, defaults to 'onboot.lst') and cde (CDE) in '/usr/bin/tce-setup'+  * **lst** (TARGETLIST, defaults to 'onboot.lst') and **cde** (CDE) in '/usr/bin/tce-setup'
  
 +=== Kernel boot-parameters ===
 +Additional boot-codes have been treated by the kernel at boot-time already. One [[http://forum.tinycorelinux.net/index.php/topic,21401.0.html|notable case]] is //resume// which, although similar in syntax to //home//, //opt// and //tce// does not accept disk LABELs.
 ==== Starting the work ==== ==== Starting the work ====
  
Line 498: Line 500:
  
  
-=====Shell inits=====+=====Shell Inits=====
  
 A login shell first reads commands from the files '/etc/profile' and '.profile' if they exist. If ENV is set on entry to a shell, or is set in the .profile of a login shell, the shell next reads commands from the file named in ENV. (Cf. [[http://linux.about.com/library/cmd/blcmdl1_ash.htm|source]].) ENV is indeed set to '~/.ashrc' in '~/.profile' (see below). A login shell first reads commands from the files '/etc/profile' and '.profile' if they exist. If ENV is set on entry to a shell, or is set in the .profile of a login shell, the shell next reads commands from the file named in ENV. (Cf. [[http://linux.about.com/library/cmd/blcmdl1_ash.htm|source]].) ENV is indeed set to '~/.ashrc' in '~/.profile' (see below).
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 '~/.X.d/' must contain backgrounded commands, i.e. with trailing "&".
 ====Log-console==== ====Log-console====
  
Line 602: Line 605:
   *acts as a log console   *acts as a log console
  
-**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore wiki welcome page]]**+**[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export
QR Code
QR Code dcore:system_start_and_boot-codes (generated for current page)