GRUB: "invalid arch independent ELF magic" after install on SSD [duplicate]

Boot into Live CD and run:

sudo mount /dev/sda3 /mnt
sudo mount /dev/sda1 /mnt/boot
sudo grub-install --root-directory=/mnt /dev/sda

I have fixed the same problem with Backtrack , on VMware. The boot was broken after installing vmware tools

I used the following commands to fix it:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda