ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 92 - XK0-005 discussion

Report
Export

A systems administrator is tasked with installing GRUB on the legacy MBR of the SATA hard drive.

Which of the following commands will help the administrator accomplish this task?

A.
grub-install /dev/hda
Answers
A.
grub-install /dev/hda
B.
grub-install /dev/sda
Answers
B.
grub-install /dev/sda
C.
grub-install /dev/sr0
Answers
C.
grub-install /dev/sr0
D.
grub-install /dev/hd0,0
Answers
D.
grub-install /dev/hd0,0
Suggested answer: B

Explanation:

The command that will help the administrator install GRUB on the legacy MBR of the SATA hard drive is grub-install /dev/sda. This command will install GRUB on the master boot record (MBR) of the first SATA disk (/dev/sda). The MBR is the first sector of a disk that contains boot code and a partition table. GRUB will overwrite the boot code and place its own code that can load GRUB modules and configuration files from a specific partition.

The other options are not correct commands for installing GRUB on the legacy MBR of the SATA hard drive. The grub-install /dev/hda command will try to install GRUB on the first IDE disk (/dev/hda), which may not exist or may not be bootable. The grub-install /dev/sr0 command will try to install

GRUB on the first SCSI CD-ROM device (/dev/sr0), which is not a hard drive and may not be bootable.

The grub-install /dev/hd0,0 command is invalid because grub-install does not accept partition names as arguments, only disk names. Reference: Installing GRUB using grub-install; GRUB Manual

asked 02/10/2024
pedro blanco
27 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first