rescue / # grub-install --recheck /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
root@rescue:/rescue / # grub-install --recheck /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
root@rescue:/rescue / # grub-install --recheck /dev/sda2
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
root@rescue:/rescue / # grub-install --recheck /dev/sdb2
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
root@rescue:/rescue / # grub2-install /dev/sda
/boot/grub2 not readable
/sbin/grub2-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md1 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/sbin/grub2-probe --device-map="/boot/grub2/device.map" --target=fs -v /boot/grub2" to <bug-grub@gnu.org>
root@rescue:/rescue / #