Navigation

failed

grub-install /dev/sda failed error

This solve the problem:

mount /dev/sdaX /mnt # Make "X" the partition that has Ubuntu installed (i.e. /dev/sda2).
for i in /sys /proc /run /dev; do mount --bind "$i" "/mnt/$i"; done
sudo chroot /mnt
update-grub
if no errors skip this
grub-install /dev/sdX (x is the hard drive that has linux installed (i.e. /dev/sda)
update-grub 
Reboot the system

...

Subscribe to failed