So you know all tutorials with the grub-install command form a live-cd, but in my case grub-install returned 3-4 lines with
” could not find device for /dev/sdb4 ” and after that ending with the line „not found or not a block device” i have checked fstab, the device and other various configurations to try fix this error somehow(also everything looked alright from fdisk), but i didn’t have any luck with the grub-install command with any commandline options, the partition that i had restored with clonezilla was a Centos 6.4 and, 6.4 uses grub1.
Anyway i had luck with commands sent to the grub executable in order to reinstall.
So first step i mounted the partition and chrooted in that partition like any other tutorial.
With the fallowing commands:
sudo mount /dev/sda /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /dev/pts /mnt/dev/pts sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo chroot /mnt
after that i used:
cd /boot/grub grub root (hd0,0) setup (hd0) exit reboot
So i guess if grub-install doesn’t work and you don’t want to debug that to much you could try use the grub executable instead.