Results 1 to 2 of 2

Thread: Grub rescue, invalid arch independent ELF magic

  1. #1
    Join Date
    Apr 2013
    Beans
    1

    Grub rescue, invalid arch independent ELF magic

    Hi everyone,

    First I would like to say that I am a new user of Ubuntu... euh... I would like to be a new user, but it doesn't work !
    I have a Macbook pro with Lion on one side and I wanted to install Ubuntu 12.04 LTS. So I followed the instruction of the Ubuntu website and everything seemed to work fine.
    But now. when I start my computer, I have this message appearing on a black screen : "error: invalid arch independent ELF magic. grub rescue>"

    I tried this : http://ubuntuforums.org/showthread.php?t=2120477
    I also tried to launch boot-repair from my Ubuntu-Cd. In the two cases, the answers are positives : Boot-repair said that it has been repaired and when I type the two lines of the thread that I have mentionned the terminal says something similar.
    But when I reboot... same error message.

    Is there someone there that could help me ?

    Maybe this could help to help me, it is a page generated by the "Boot-repair" app : http://paste.ubuntu.com/5594912/

    Thank you very much !
    Have a nice day,

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Grup rescue, invalid arch independent ELF magic

    Moved to the Apple sub-forum where those who know Macs better can help.

    I do not know Mac, but with gpt partitioning and Ubuntu in BIOS mode it needs a 1MB unformatted bios_grub partition for core.img. Your MBR is saying it installed core.img to the efi partition?

    This is usually want it attempts to do. From your BootInfo.
    /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..
    /usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
    grub-install --force /dev/sda5: Installation finished. No error reported.
    In a GPT partition map, the 31 kiB area after Master Boot Record where GRUB is usually embedded to, does not exist. When GRUB can't be embedded, its only option is to use blocklists, which are unreliable and discouraged. Thus, you must make a separate "BIOS boot partition" to hold core.img. BIOS Boot Partition only needs to be about 32 KiB in size, although in most cases make it 1 MiB because of partition alignment issues. It can be anywhere on drive and has no format.


    Post #6 booting Kubuntu 12.10 in EFI mode on my Mac, by trogdor1138
    http://ubuntuforums.org/showthread.php?t=2091257
    Bit older, Mac & PC UEFI, note issues on some systems
    https://help.ubuntu.com/community/UEFIBooting
    http://refit.sourceforge.net/
    http://www.rodsbooks.com/ubuntu-efi/index.html
    https://help.ubuntu.com/community/MacBookPro
    http://lifehacker.com/5934942/how-to...apple-hardware
    Caution on UEFI boot Mac
    http://ubuntuforums.org/showthread.php?t=2012588
    Triple Boot MacbookPro (Lion, Win7, Ubuntu) Ubuntu in BIOS mode
    http://ubuntuforums.org/showthread.php?t=1908210
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •