Boot The System (3) Flashcards
Objective 101.2 Weight 3
Which of the following bootloaders can be loaded by BIOS firmware?
- LILO
- MBR
- GRUB Legacy
- GRUB2
- POST
- GPT
- LILO, 3. GRUB Legacy AND 4. GRUB2
Which of the following are configuration files that may be involved in configuring a GRUB Legacy bootloader?
- /boot/grub/menu.1st
- /boot/grub/menu.lst
- /boot/grub/grub.cfg
- /boot/grub/grub.conf
- /boot/grub2/grub.cfg
- /boot/grub2/grub.conf
- /boot/grub/menu.lst AND 4. /boot/grub/grub.conf
The /boot/grub/menu.lst (think of a “boot menu list”) and /boot/grub/grub.conf are the configuration files that may be involved in configuring a GRUB Legacy bootloader and its menu. Often on systems that still use GRUB Legacy the /boot/grub/menu.lst is a symbolic (soft) link to the /boot/grub/grub.conf file.
Which of the following are keywords used in GRUB Legacy bootloader configuration files?
- menuentry
- title
- root
- kernel
- set root
- initrd
- title, 3. root, 4. kernel AND 6. initrd
Keywords used in GRUB Legacy bootloader configuration files include title, root, kernel, and initrd (and these keywords are specifically used to configure GRUB Legacy bootloader menu entries.)
Which of the following commands allow you to install GRUB Legacy on the first hard drive’s first partition?
- grub-install ‘(hd0)’
- grub-install ‘(hd1)’
- grub-install ‘(hd0, 0)’
- grub-install ‘(hd1,1)’
- grub-install /dev/sda
- grub-install /dev/sda1
- grub-install ‘(hd0, 0)’ AND 6. grub-install /dev/sda1
Both the grub-install ‘(hd0, 0)’ and grub-install /dev/sda1 commands will allow you to install GRUB Legacy on the first hard drive’s first partition. The grub-install ‘(hd0)’ and grub-install /dev/sda commands allow you to install GRUB Legacy on the first hard drive, but a partition is not designated in the commands.
Which of the following is true concerning booting with a system that uses UEFI firmware?
- UEFI stands for unified extensible functional interface
- UEFI stands for unified extensible firmware interface
- UEFI uses a mini-bootloader to configure which bootloader program to use
- UEFI uses a configuration file to determine which bootloader program to use
- The bootloader program is in the EFI, which is mounted at /boot/efi
- The bootloader program is in the ESP, which is mounted at /boot/esp
- UEFI stands for unified extensible firmware interface
AND - UEFI uses a mini-bootloader to configure which bootloader program to use
The unified extensible firmware interface (UEFI) uses a mini-bootloader (boot manager) to configure bootloader program to use. The bootloader program is in the extensible firmware interface (EFI) System Partition (ESP), and ESP is mounted on the/boot/efi/ directory.
Which of the following are configuration files that may be involved in configuring a GRUB2 bootloader?
- /boot/grub/menu.1st
- /boot/grub/menu.lst
- /boot/grub/grub.cfg
- /boot/grub/grub.conf
- /boot/grub2/grub.cfg
- /boot/grub2/grub.conf
- /boot/grub/grub.cfg AND 5. /boot/grub2/grub.cfg
The /boot/grub/grub.cfg and /boot/grub2/grub.cfg are the configuration files that may be involved in configuring a GRUB2and its menu. Linux systems will have one file or the other, though they may have both directories.
Which of the following are keywords used in GRUB2 bootloader configuration files?
- menuentry
- title
- root
- kernel
- set root
- linux
- menuentry, 5. set root AND 6. linux
Keywords used in GRUB2 bootloader configuration files include menuentry, set root, linux (and variations), and initrd (and variations). These keywords are specifically used to configure GRUB2 bootloader menu entries.
Which of the following are keys or key combinations used for operations in the GRUB2 boot menu?
- Ctrl+x
- d
- Esc
- e
- o
- b
- Ctrl+x
- Esc
AND - e
Of the keys listed, only Ctrl+x, Esc, and e are keys or key combinations used for operations in the GRUB2 boot menu. The rest are only used for operations in the GRUB Legacy boot menu.
Which of the following is the key or key combination when you want to reach the GRUB command line, after you have entered into editing mode for GRUB2?
- Ctrl+x
- c
- Ctrl+c
- b
- e
- Esc
- Ctrl+c
The Ctrl+c key combination is what to press after you entered into the GRUB2 boot menu item and into editing mode, but desire to reach the GRUB command line. If you were not editing a GRUB2 boot menu item, you would use the c key to reach the GRUB command line.
Which of the following should the line in a GRUB2 boot menu start with to indicate it is the line where you should type in Linux kernel parameters at its end to pass?
- menuentry
- root
- set root
- kernel
- linux
- initrd
- linux
In a GRUB2 boot menu, any kernel parameters you wish to pass to the Linux kernel when the system is booted, should be placed at the end of the line starting with the word linux.
What is the term given to the program that start the kernel?
bootloader
Name the Linux bootloaders
GRUB or GRUB Legacy and GRUB 2
What is the purpose of the initial RAM filesystem?
The initial RAM filesystem is an archive containing a filesystem which is used as a temporary root filesystem. It provides required modules so the kernel may access the real root filesystem of the OS.
What is the first program executed by the Linux kernel?
init
Once init is loaded, initramfs is removed from RAM.
Describe the process of updating kernel parameters using GRUB.
Kernel parameters can be set by editing /etc/default/grub and adding or modifying the kernel parameter=value in the GRUB_CMDLINE_LINUX entry. After updating /etc/default/grub, generate a new bootloader configuration using the command grub-mkconfig -o /boot/grub/grub.cfg.