nerdexam
LPI

202-450 · Question #100

A GRUB boot loader installed in the MBR was accidentally overwritten. After booting with a rescue CD-ROM, how can the lost GRUB first stage loader be recovered?

The correct answer is D. Run grub-install after verifying that grub.conf is correct. You've hit your weekly limit · resets 5am (America/New_York)

214 Troubleshooting

Question

A GRUB boot loader installed in the MBR was accidentally overwritten. After booting with a rescue CD-ROM, how can the lost GRUB first stage loader be recovered?

Options

  • AUse dd to restore a previous backup of the MBR
  • BInstall LILO since there is no easy way to recover GRUB
  • CRunning mformat will create a new MBR and fix GRUB using info from grub.conf
  • DRun grub-install after verifying that grub.conf is correct.
  • ERun fdisk --mbr /dev/had assuming that the boot harddisk is /dev/hda.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    4% (1)
  • D
    81% (21)

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#GRUB#MBR recovery#grub-install#boot loader recovery

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice