Kickstart gives two options to install the GRUB bootloader either on "MBR" or "first sector of /boot partition".
If we choose to install it on /boot partition then what would 512 bytes of MBR contain?
Kickstart gives two options to install the GRUB bootloader either on "MBR" or "first sector of /boot partition".
If we choose to install it on /boot partition then what would 512 bytes of MBR contain?
The MBR is used by the BIOS to load and start code from the harddisk. If you don't write anything to MBR, it will be empty and the BIOS will (usually) notify you that no operating system has been found.
This is why all operating systems write their boot code into the MBR to make sure that the user gets a bootable harddisk and can start the installed operating system. It gets interesting when you have multiple operating systems. Only one operating system can write the MBR during installation. The previous one will be overwritten and its boot code is lost.
GRUB is not only located in MBR but contains boot code that loads from a bootable partition (which partition it is depends typically from which operating system you have installed grub). Grub is also called a "boot manager", because it is able to start more than just one operating system.
If you write the boot code to the boot partition (in contrast to MBR) then this code can be started if the boot code in MBR is able to do chain loading. This is also the preferred technique, in case when GRUB does not know how to handle the operating system. It just loads the boot code from the other (native) boot loader and executes it. When grub itself knows how to start the system, it does not need to use chain loading.