Site Tools


notes:lpic-1_notes

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:lpic-1_notes [2026/06/05 01:16]
114.119.152.46 old revision restored (2014/02/10 02:06)
notes:lpic-1_notes [2026/06/07 20:33] (current)
114.119.135.37 old revision restored (2014/02/13 01:31)
Line 56: Line 56:
   * Check boot events in the log file   * Check boot events in the log file
   * Terms: /var/log/messages, dmesg, BIOS, bootloader, kernel, init   * Terms: /var/log/messages, dmesg, BIOS, bootloader, kernel, init
 +
 +== Notes ==
 +  * Boot Loader (LILO or GRUB) launches the linux kernel, passing kernel parameters if needed (/etc/lilo.conf | /boot/grub/menu.lst | /boot/grub/grub.conf)
 +  * Module options (as well as aliases and post-install and pre-remove actions) are stored in /etc/modules.conf .
 +  * //dmesg// displays kernel messages logged at last system boot.
 +  * // /var/log/messages // contains all syslog messages.
  
 === 101.3 Change runlevels and shutdown or reboot system (LCN-4 CTL-5) === === 101.3 Change runlevels and shutdown or reboot system (LCN-4 CTL-5) ===
Line 65: Line 71:
   * Knowledge of basic features of systemd and Upstart   * Knowledge of basic features of systemd and Upstart
   * Terms: /etc/inittab, shutdown, init, /etc/init.d, telinit   * Terms: /etc/inittab, shutdown, init, /etc/init.d, telinit
-<pagebreak>+ 
 +== Notes == 
 +  * When linux boots, first process is the //init// process which selects and switches to default runlevel. 
 +  * Runlevels - 0=shutdown, 1/s/S=single-user_maintenance, 2=multi-user, 3=multi-user_no-X, 5=multi-user_with-X 6=reboot 
 +  * On Debian, 2 is default and 3,5 are not used. On Redhat, 3 is the default. 
 +  * /etc/rc script to change runlevels on redhat (also init/telinit script) 
 +  * /etc/rc.sysinit (Redhat) or /etc/init.d/rcS (Debian) - system init script launched by init before system daemons 
 +  * /etc/rc.local- local startup actions called at end of startup 
 +  * /etc/init.d contains startup/shutdown scripts for all system services 
 +  * /etc/rc0.d - /etc/rc6.d contain softlinks KNNservice or SNNservice specifying whether to start or stop services and in what order for that runlevel (done by init process). Kills done before starts. 
 +  * /etc/inittab contains "id:N:initdefault:" for default runlevel N 
 +  * //runlevel// shows current and previous runlevel 
 +  * //shutdown [options] time [warning message]//  - -f=fastboot -h=halt -r=reboot -F=force-startup-checks -k=just-send-warning . Time is "now" or "+N" in N minutes or absolute time e.g. 23:58.
 ==== 102 Installation and Package Management 18% ==== ==== 102 Installation and Package Management 18% ====
  
notes/lpic-1_notes.1780647401.txt.gz · Last modified: 2026/06/05 01:16 by 114.119.152.46