Objectives 1.0 Hardware and System Configuration Flashcards
Describe the boot process
The Linux Boot process can be split into three main steps:
1) The BIOS or UEFI starts a bootloader program from the Master Boot Record, which is usually the Linux GRUB Legacy or GRUB2 program.
2) The bootloader program loads the Linux kernel into memory, which in turn looks for the init program to run.
3) The init program starts individual application programs and starts either the command-line terminals or the graphical desktop manager
What is GRUB?
GRUB stands for Grand Unified Bootloader
GRUB stores files in /boot/grub folder and uses the menu.lst or grub.conf configuration file to define commands used at boot time
difficult to modify
boot menu usually displays on boot
What is GRUB2?
Stored in /boot/grub
Uses grub.cfg
Customizable in /etc/default/grub
can boot iso, usb, UUID, device
grub2 has a hidden boot menu (press shift)
lsmod
show a list of statuses of modules in Linux Kernel
insmod
inserts module by path only
no dependencies
fail with no explanation
modprobe
inserts module just by name includes dependencies needs map
modinfo
shows information about a linux kernel module
dmesg
print or control the kernel ring buffer
rmmod
removes a module from the linux kernel
depmod
List modules dependencies and map files
Where are Linux Network Configuration files stored on Redhat?
/etc/sysconfig/network-scripts directory
Where are Linux Network Configuration files stored on openSUSE?
/etc/sysconfig/network
Where are Linux Network Configuration files stored on Debian based?
/etc/network/interfaces file
route
show / manipulates IP routing table
host
host is a simple DNS lookup utility. It is normally used to convert names to ip addresses and vice versa