[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invalid arch independent ELF magic
From: |
Jordan Uggla |
Subject: |
Re: invalid arch independent ELF magic |
Date: |
Wed, 10 Aug 2011 20:01:48 -0700 |
On Wed, Aug 10, 2011 at 7:37 PM, Tim Johnston
<address@hidden> wrote:
> Just installed Ubuntu 11.04 Natty Narwhal. Reboot, and I get:
>
> error: invalid arch independent ELF magic
This generally means that the version of grub being loaded from the
mbr + embedded area at boot does not match the version whose files are
in /boot/grub/.
> have tried running grub-install again. It reports no error, but it doesn't
> appear to do anything, problem is still there on reboot.
Most likely you did not run grub-install to the device your BIOS is
actually booting from. Try running grub-install against all drives but
*no* partitions and be sure that you run "sudo dpkg-reconfigure
grub-pc" once you're booted into Ubuntu and select all drives there as
well. If you don't do the dpkg-reconfigure step then this problem will
return when the grub-pc package is upgraded and /boot/grub gets the
new modules without the correct mbr+embedded area also being upgraded.
--
Jordan Uggla (Jordan_U on irc.freenode.net)