LX0-103 · Question #140
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
The correct answer is C. timeout. The 'timeout' directive in GRUB Legacy's configuration file specifies how many seconds the boot menu is displayed before the default entry is automatically booted.
Question
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
Options
- Ahidemenu
- Bsplash
- Ctimeout
- Dshowmenu
How the community answered
(64 responses)- A3% (2)
- B2% (1)
- C94% (60)
- D2% (1)
Why each option
The 'timeout' directive in GRUB Legacy's configuration file specifies how many seconds the boot menu is displayed before the default entry is automatically booted.
'hidemenu' suppresses the display of the boot menu entirely rather than controlling how long it is shown.
'splash' is used to set a background or splash image on the boot screen - it has no relation to menu display duration.
In GRUB Legacy (menu.lst or grub.conf), the 'timeout' directive takes an integer value representing seconds. Setting 'timeout 10', for example, causes the bootloader to display the menu for 10 seconds before automatically booting the default entry. Setting it to -1 causes the menu to wait indefinitely.
'showmenu' is not a valid GRUB Legacy configuration directive.
Concept tested: GRUB Legacy timeout directive for boot menu display
Source: https://www.gnu.org/software/grub/manual/legacy/grub.html
Topics
Community Discussion
No community discussion yet for this question.