Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
GRUB: “invalid arch independent ELF magic” after install on SSD

Can not boot fresh installation of 64-bit Ubuntu 12.04. Got next message right after reboot:

error: invalid arch independent ELF magic.
grub rescue>

What is wrong? How can I fix it without reinstall?

share|improve this question

marked as duplicate by Sergey, Jjed, James Apr 26 '12 at 14:00

This question was marked as an exact duplicate of an existing question.

@Sergey - Possibly this will help?… – fossfreedom Apr 26 '12 at 12:58
Re install if nothing to lose else try to update grub via live cd – Tachyons Apr 26 '12 at 12:58
@fossfreedom Thank you! That solves my issue. – Sergey Apr 26 '12 at 13:12

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
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.