Problems with Grub after Reinstallation

Grub wouldn't boot after a reinstallation on my system.

Workaround to be able to boot:

This fix worked: (comment 14)

sudo gedit /usr/lib/grub/grub-mkconfig_lib

Remove the lines 170 - 175 in the file grub-mkconfig_lib:

# If there's a filesystem UUID that GRUB is capable of identifying, use it;
  # otherwise set root as per value in
  echo "set root=`${grub_probe} --device ${device} --target=drive`"
  if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
    echo "search --no-floppy --fs-uuid --set ${fs_uuid}"

Safe/close the file and then regenerate the grub entries:

sudo update-grub