Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, jrg Apr 26 '12 at 14:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
@Sergey - Possibly this will help? askubuntu.com/questions/37692/… –  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

1 Answer 1

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.