Test Out Linux Pro 4.2.9 Bootloaders (Practice Questions)

Ace your homework & exams now with Quizwiz!

Which directory contains the configuration file for GRUB 2?

/boot/grub2/

The GRUB2 configuration file (non-editable). The GRUB2 directory for script files. The GRUB2 configuration file (editable). The script that identifies kernels on the root device and creates menu entries. The script file that allows menu entries to be modified.

/boot/grub2/grub.cfg /etc/grub.d/ /etc/default/grub/ 10_linux 40_custom

What is the full path and filename of the GRUB 2 file that is used for editing the default behavior of the bootloader menu?

/etc/default/grub

You have GRUB2 installed on your Linux workstation. You need to make changes to the boot menu. Which files and scripts can you edit to modify the menu entries and behavior of the boot menu? (Select TWO.)

/etc/grub.d/40_custom /etc/default/grub

You have a dual-boot system with a Linux and Windows operating systems. You need to configure the GRUB 2 bootloader to display the menu for 12 seconds before it automatically boots the default operating system. Which of the following is the BEST first step to configure the bootloader?

Edit the timeout parameter in the /etc/default/grub file to say GRUB_TIMEOUT=12.

You are editing the /etc/default/grub file. Which option should you use to set the default operating system?

GRUB_DEFAULT=

Which of the following will prevent a user from booting a computer, booting from removable devices, and changing UEFI/BIOS settings?

Set a UEFI/BIOS password.

Which of the following commands will help you to determine which version of GRUB is installed on your Linux system?

grub-install -v grub2-install --version

After updating the settings in the /etc/default/grub file, you know the changes must be written to the grub.cfg file before they will be used. What would you enter at the command prompt to write the changes to the grub.cfg file?

grub2-mkconfig -o /boot/grub2/grub.cfg

If an attacker boots into single user mode, they are logged in automatically as the root user without being required to enter the root password. Which of the following is the BEST measure should you take to prevent this event from happening?

Set a bootloader password.


Related study sets

Topic 3 An Overview of the constitution

View Set

Intimate Relationships: Chapters 1-3

View Set