nerdexam
CompTIA

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.

System Architecture

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)
  • A
    3% (2)
  • B
    2% (1)
  • C
    94% (60)
  • D
    2% (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.

Ahidemenu

'hidemenu' suppresses the display of the boot menu entirely rather than controlling how long it is shown.

Bsplash

'splash' is used to set a background or splash image on the boot screen - it has no relation to menu display duration.

CtimeoutCorrect

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.

Dshowmenu

'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

#GRUB Legacy#timeout#bootloader#grub.conf

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice