nerdexam
CompTIA

XK0-005 · Question #465

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?

The correct answer is B. grub-install /dev/sda. 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…

System Management

Question

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?

Options

  • Agrub-install /dev/hda
  • Bgrub-install /dev/sda
  • Cgrub-install /dev/sr0
  • Dgrub-install /dev/hd0,0

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    94% (31)
  • C
    3% (1)

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.

Topics

#GRUB#Bootloader#MBR#Linux device naming

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice