For Ubuntu boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
https://wiki.ubuntuusers.de/GRUB_2/Reparatur/#Reparatur-mittels-Desktop-CD
https://askubuntu.com/questions/953728/how-to-check-a-filesystem-in-ubuntu-16-04