nerdexam
Oracle

1Z0-460 · Question #39

View the following GRUBcommand or the output offixingthe GRUB boot problem: Based on the output, which statement is true?

The correct answer is C. GRUB command sequence restores GRUB from the second partition on the first hard disk. hd0,1 indicates the first hard drive and the second partition. grub - the grub shell Enter the GRand Unified Bootloader command shell. In the following example we assume that the boot partition is located at /dev/hda5 and that GRUB must be installed on the first disk's MBR…

Boot Process and System Initialization

Question

View the following GRUBcommand or the output offixingthe GRUB boot problem:

Based on the output, which statement is true?

Exhibit

1Z0-460 question #39 exhibit

Options

  • AThe GRUB command sequence restores GRUB from the first partition on the second hard disk.
  • BThe GRUB command sequence does not restore GRUB.
  • CGRUB command sequence restores GRUB from the second partition on the first hard disk.
  • DThe GRUB command sequence verifies the stage1 on the first partition on first hard disk.

How the community answered

(56 responses)
  • A
    4% (2)
  • B
    13% (7)
  • C
    79% (44)
  • D
    5% (3)

Explanation

hd0,1 indicates the first hard drive and the second partition. *grub - the grub shell Enter the GRand Unified Bootloader command shell. *In the following example we assume that the boot partition is located at /dev/hda5 and that GRUB must be installed on the first disk's MBR. grub> root (hd0,4) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yesChecking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 23 sectors are embedded. Running "install /boot/grub/stage1 (hd0) (hd0)1+23 p (hd0,4)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded The first command includes the location of the boot partition, thus indicating where the boot loader files are located. The second command installs GRUB on the MBR. For this purpose, a file called stage1_5 is used to grant GRUB access to the file system on the boot partition.

Topics

#GRUB#boot restoration#MBR#boot sequence

Community Discussion

No community discussion yet for this question.

Full 1Z0-460 Practice