1.0 Hardware and System Configuration Flashcards
Describe the EFI
EFI stands for Extensible Firmware Interface
Describe UEFI
UEFI stands for Universal Extensible Firmware Interfce
Instead of relying on a single boot sector on a hard drive to hold the boot loader program, UEFI specifies a special disk partition, called the EFI System Partition (ESP) to store boot loader programs. This allows for any size of boot loader program, plus the ability to store multiple boot loader programs for multiple operating systems
Where is ESP typically mounted?
The ESP is typically mounted in the /boot/efi folder
What is GRUB?
GRUB stands for Grand Unified Bootloader (GRUB) Legacy
Originally the default boot loader for all Linux distributions , whether they were running BIOS or UEFI
GRUB Legacy allows you to select multiple kernels and/or operating systems using both a menu interface and an interactive shell. You configure the menu interface to provide options for each kernel or operating system you want to boot with. The interactive shell provides a way for you to customize boot commands on the fly.
What is GRUB2?
GRUB2 supports advanced features, such as the ability to load hardware driver modules and using logic statements to dynamically alter the boot menu options, depending on the conditions detected on the system.
What is PXE and Describe it
PXE stands for Pre-boot eXecution Environment Standard
It defines how a network workstation can boot and load an operating system from a central network server.
What are the two most common issues that occur during a Linux startup process?
Kernel Failures - which is when the Linux Kernel stops running in memory
Drive Failures -
Where is the configuration file for global commands stored?
The file path for global commands are stored at
/etc/default/grub
Where do some Red-Hat based Linux distributions store configuration files?
/etc/grub2.cfg
Describe the /boot
Some Linux distributions create separate partitions on the hard drive
What is the mkinitrd command used for?
The mkinitrd command is used to install new hardware on the system that must be visible at boot time
Describe the dracut command
The dracut command is used to used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework
What is the grub-mkconfig command used for?
The grub-mkconfig program reads configuration files stored in the /etc/grub.d folder and assembles the commands into the single grub.cfg configuration file.
You can update the configuration file manually by running the grub-mkconfig command
What is the grub-install command used for?
The grub-install command installs the GRUB configuration file in the correct location GRUB Legacy but isn’t used in GRUB2
Where are efi files stored and how do you know which files are efi?
efi files are stored in /boot/efi folder and typically stored using the .efi filename extension
What is vmlinuz?
vmlinuz is the name of a Linux Kernel that is compressed using the bzImage compression method. We know its compressed because of the z at the end of the file name
What is vmlinux
Kernel image files that aren’t compresses are usually called vmlinux
What is a Kernel panic?
Kernel panics often are a result of a software change, such as installing a new kernel without the appropriate module or library changes or starting (or stopping) a program at a new runlevel.
What is the lsmod command used for?
The lsmod utility displays all the currently loaded modules, the number of processes and other modules using them, and the other module’s names
What is the command used to dynamically load kernels?
To dynamically load kernels use the insmod
What is modprobe used for?
The modprobe is used to install modules by their module name. It also loads any additional modules that the inserted module needs to operate (dependencies)
What is the modinfo command used for?
The modinfo command is used to display detailed module information as well as its dependencies