Trying boot from livecd to fix the dual boot issue.

ubuntu@ubuntu:~$ sudo grub-install /dev/sda

/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).

Solution:

set the /boot/grub path

root@ubuntu:~# mkdir /a; mount /dev/sda1 /a # sda1 is the root you installed linux

root@ubuntu:~# grub-install /dev/sda –boot-directory=/a/boot/grub

Installation finished. No error reported.