Ch17 Bootloaders Exam
-
For GRUB Legacy, which of the following is used to specify the second partition of the second hard drive?
- (hd1,1)
- (hd2,1)
- (hd1,2)
- (hd2,2)
-
In GRUB Legacy, the _____ directive defines an operating system to boot.
system
title
boot
os
-
In GRUB Legacy, the _____ directive defines the default operating system to boot.
boot=
default=
grub=
system=
-
In GRUB Legacy, the _____ directive indicates an operating system to boot if the default operating system fails to boot.
redo
timeout=
root
fallback=
-
In GRUB Legacy, the _____ directive indicates how long to wait before automatically booting the default operating system.
fallback=
password=
timeout=
kernel
-
In GRUB Legacy, the _____ directive prevents GRUB from displaying all but the default bootable title until the user presses a key.
titleonly
hiddenmenu
securemenu
title
-
In GRUB Legacy, the password directive in the global setting means:
- The user must submit the password before GRUB will attempt to boot the title.
- The user must submit the specified password before appending, editing or using the GRUB command line.
- You can’t place a password directive in the global setting.
-
In GRUB Legacy, the password directive in the title directive setting means:
- To edit any GRUB values, a password must first be entered
- You can’t place a password directive in the title directive setting
- To boot a specific operating system, a password must be entered
- The password must be entered to display a menu of operating systems that are bootable
-
In GRUB Legacy, which directive is not typically used after a title directive?
root
initrd
kernel
boot
-
Which of the following is not an advantage of GRUB 2 over GRUB Legacy?
- Command-line interface
- Ability to boot from partitions inside of Logical Volume Management (LVM) or RAID devices
- Dynamically loaded modules
- Non-ASCII character support
- Ability to work with architectures that don’t have a PC BIOS
-
Instead of modifying the primary configuration file for GRUB2, you should edit the _____ file.
- /etc/grub-config-all
- /etc/grub
- /etc/grub-default
- /etc/default/grub
-
The GRUB2 setting that sets the default operating system to boot is called _____.
- GRUB_TIMEOUT
- GRUB_DEFAULT
- GRUB_BOOT_DEFAULT
- GRUB_DISTRIBUTOR
-
The primary configuration file for GRUB 2 on an Ubuntu system is _____.
- /boot/grub/grub2.cfg
- /boot/grub2.cfg
- /boot/grub/grub.cfg
- /boot/grub2/grub.cfg
-
The primary configuration file for the GRUB 2 on a Fedora system is _____.
- /boot/grub2.cfg
- /boot/grub/grub.cfg
- /boot/grub2/grub.cfg
- /boot/grub/grub2.cfg
-
The primary GRUB 2 configuration is overwritten when the _____ command is executed on Fedora systems.
update-grub
nano
lilo
grub2-mkconfig
-
The primary GRUB 2 configuration is overwritten when the _____ command is executed on Ubuntu systems.
silo
grub2-mkconfig
update-grub
redo
-
To specify a runlevel to boot at, add the runlevel to the end of the _____ directive line.
title
boot
system
kernel
-
To use an encrypted password in the GRUB Legacy configuration file, use the _____ option to the password directive.
- –encrypt
- –crypt
- –secure
- –md5
-
What is the real location of the GRUB Legacy configuration file?
- /boot/grub.conf
- /boot/grub/grub.conf
- /var/local/grub.conf
- /etc/grub/grub.conf
-
What version of GRUB is the most modern version?
- GRUB Original
- GRUB 3
- GRUB 2
- GRUB Legacy
-
Which of the following are valid Linux bootloaders? (choose two)
- BIOS
- LILO
- UEFI
- GRUB/GRUB2
-
Which of the following commands can be used to create an encrypted password that can be used with the password directive in GRUB Legacy:
grub-crypt
crypt-grub
grub-md5-crypt
crypt-md5-grub
-
Which command is useful for booting a corrupted disk drive?
grub-set-default
grub-mkconfig
update-grub
grub-install
-
The
menu.lst
file was used with GRUB prior to thegrub.conf
file. True or False?- True
- False
-
Editing the GRUB2 configuration is accomplished by:
- the GRUB2 file is static and should not be changed
- the file is automatically updated when kernel files are added or removed from
/boot
- making changes to
/etc/grub.d
- editing the
/etc/default/grub
file withvi
-
The time before booting the default image is set by:
- GRUB_10_SEC
- GRUB_TIMEOUT
- TIMEOUT_GRUB_WAIT
- GRUB_WAIT
Subscribe
0 Comments
Newest