Session ID: 137
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: All
Enter the command commonly used after editing /etc/default/grub to regenerate the GRUB 2 configuration.
Status: Unanswered
Your Answer:
Accepted Answer(s):
update-grub
Explanation:
After changing /etc/default/grub, update-grub is commonly used to regenerate the configuration [1].
Which key should you press in the GRUB menu to open the GRUB shell?
Status: Unanswered
Your Answer:
Accepted Answer(s):
c
Explanation:
Pressing c at the menu screen enters the GRUB shell [1].
How can you set GRUB 2 to wait 10 seconds before booting the default menu entry?
Status: Unanswered
Your Answer:
Options:
Explanation:
To make GRUB 2 wait 10 seconds, add GRUB_TIMEOUT=10 to /etc/default/grub [1].
What is update-grub usually a shortcut for?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson notes that update-grub is usually a shortcut to grub-mkconfig -o /boot/grub/grub.cfg [1].
Into which file should custom GRUB 2 menu entries be added?
Status: Unanswered
Your Answer:
Accepted Answer(s):
/etc/grub.d/40_custom
Explanation:
Custom GRUB 2 menu entries should be added to /etc/grub.d/40_custom [1].
What is the default location of the GRUB 2 configuration file?
Status: Unanswered
Your Answer:
Options:
Explanation:
The default location for the GRUB 2 configuration file is /boot/grub/grub.cfg [1].
Which two items are required to boot Linux manually from the GRUB 2 shell?
Status: Unanswered
Your Answer:
Options:
Explanation:
To boot Linux, GRUB needs a kernel and an initial RAM disk (initrd) [1].
Enter a GRUB 2 menuentry line that sets the root device by filesystem UUID 5dda0af3-c995-481a-a6f3-46dcd3b6998d.
Status: Unanswered
Your Answer:
Accepted Answer(s):
search --set=root --fs-uuid 5dda0af3-c995-481a-a6f3-46dcd3b6998d
Explanation:
The material shows replacing set root with search --set=root --fs-uuid followed by the UUID [1].
What is the default file path of the GRUB 2 configuration file?
Status: Unanswered
Your Answer:
Accepted Answer(s):
/boot/grub/grub.cfg
Explanation:
The default GRUB 2 configuration file is /boot/grub/grub.cfg [1].
Enter the command used to install GRUB Legacy or GRUB to /dev/sda from a running system.
Status: Unanswered
Your Answer:
Accepted Answer(s):
grub-install /dev/sda
Explanation:
The material gives grub-install /dev/sda as the installation command example [1].