grub-install error: no such disk

Well a new problem . After one hard failure in raid .. when I try to grub-install /dev/sda

This error appear

/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md1 failed.
Please report this together with the output of “/usr/sbin/grub-probe –device-map=/boot/grub/ –target=fs -v /boot/grub” to <>

So the fix is .. after you mount the partition like in this link

1. mv /boot/grub/ /boot/grub/
2. grub-mkdevicemap
3. update-grub2 && grub-install /dev/sda && grub-install /dev/sdb

grub-install error: no such disk
Rate this post

Leave a Reply

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