This is an old revision of the document!
Reinstall grub2
On Software RAID
Prepare chroot
mount /dev/md2 /mnt mount /dev/md1 /mnt/boot mount -t dev -o bind /dev /mnt/dev mount -t proc -o bind /proc /mnt/proc mount -t sys -o bind /sys /mnt/sys chroot /mnt
Install grub2
grub2-install /dev/sda
Check if Grub was written in MBR
dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings|grep GRUB