101.2 Boot the system Flashcards
Describe the boot process for Boot of a linux system
BIOS - Boot Sector - Linux kernel - Initial - initialization
What are Boot logs
Logs created when the computer is booted up
What is the dmesg command
The traditional utility used for viewing the kernel ring buffer
What is journalctl -k
systemd utility to view the kernel ring buffer within the systemd journal
What is the kernel ring buffer
an area of RAM the kernel writes the system message to
Describe the init system startup
after the kernel loads up the ram, it seeks out an initialization system to hand over control of the computer in folder /sbin/init
Then init reads the config file in the /etc/inittab
What is a runlevel
Predefined conifg that the computer will operate within, computer can only operate at one runlevel at a time
Describe runlevel 0 purpose
Halt - Computer stop services and halts the system
Describe the purpose of runlevel 1
Single user-mode - Root user only one allowed to login, only for repair, maintenance
Describe the purpose of runlevel 3
Multiuser mode (no networking) - allows multi users to login but with no networking
Describe the purpose of runlevel 4
Unused - there for if the user wants to setup a custom level environment
Describe the purpose of runlevel 5
Multi-user, with networking and a graphical desktop
Describe the purpose runlevel 6
Reboot
Describe the parts of a file in the /etc/initab
EX. id3initdefault;
:::
identifier- initdefault
runlevel - 3
action - initdefault - after the system boot it will run the runlevel mode chosen
Where on rehat distros are the scripts that init will use to start the system
/etc/rc.d/