GRUB2 is the version of GRUB currently in use. The software was rewritten to allow plugins and expand features available in the menu system. GRUB legacy and GRUB2 are otherwise fairly similar.
The first step to getting GRUB2 installed is to have the tool write itself to the master boot record as follows:
[root@localhost ~]# grub2-install /dev/sdaInstalling for i386-pc platform.Installation finished. No error reported.
This copies the boot sector image to disk and the remaining files to
/boot. If your bootable partition is not
/boot you can override this default setting, such as
/mnt/tmpboot in Example 1-2.