TestOut Linux Pro Practice Test 2025 – Complete Exam Prep Guide

Question: 1 / 400

To make the Windows 7 entry the default in GRUB, which line must be changed?

GRUB_TIMEOUT=5

GRUB_DEFAULT=0

GRUB_DEFAULT=Windows 7

To set the Windows 7 entry as the default in GRUB, you would need to change the line that specifies the default entry to boot. By setting the line to "GRUB_DEFAULT=Windows 7," you are explicitly telling GRUB to boot the Windows 7 operating system by default when the system starts.

The "GRUB_DEFAULT" variable takes either a numerical value, representing the position of the menu entry (starting from 0 for the first entry), or the exact name of the entry as it appears in the GRUB menu. Since specifying "Windows 7" directly is clear and ensures that this entry will be selected, it effectively overrides any numerical position.

In comparison, "GRUB_TIMEOUT=5" indicates how long the GRUB menu will be displayed before automatically booting into the default OS but does not choose which OS to boot. Changing "GRUB_DEFAULT=0" would set the first menu entry as the default, which might not correspond to Windows 7 if it is not the first entry. Lastly, "GRUB_TIMEOUT=-1" would make the timeout infinite, requiring user input but would not affect which operating system is selected by default.

Thus, modifying "GRUB_DEFAULT=Windows 7" is

Get further explanation with Examzify DeepDiveBeta

GRUB_TIMEOUT=-1

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy