which statement is true?

View the following GRUB command or the output of fixing the GRUB boot problem: Based
on the output, which statement is true?

View the following GRUB command or the output of fixing the GRUB boot problem: Based
on the output, which statement is true?

A.
GRUB command sequence restores GRUB from the second partition on the first hard
disk.

B.
The GRUB command sequence verifies the stage1 on the first partition on first hard disk.

C.
The GRUB command sequence restores GRUB from the first partition on the second
hard disk.

D.
The GRUB command sequence does not restore GRUB.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


hoge

hoge

Explanation:
hd0,1 indicates the first hard drive and the second partition.
Note:
*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… yes
Checking 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.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+23 p (hd0,4)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done.
grub> quit
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.