[Bug 721544] Re: Update replaced grub-efi with grub-pc causing boot failure.

Laurent 721544 at bugs.launchpad.net
Sun Jul 17 10:35:26 UTC 2011


More details if it can help other people who cannot boot after ubuntu
kernel update :

Problem :
1 - I updated natty ubuntu with Update manager. This upgraded kernel from 2.6.38.8 to 2.6.38.10.
 I noticed some changes on grub but didn't pay attention to the fact that it in fact replaced grub-efi by grub-pc automatically.
2 - During reboot grub failed and i got the dreaded error message
error: invalid arch independent ELF magic.
grub rescue>

After some unsuccessful tries to restore grub from a LiveCD I did the following wich worked :
1 - Changed the boot order in BIOS to boot without using EFI. On my system (Asus SandyBridge H67) this meant selecting the hard drive name boot device instead of the boot device labelled "ubuntu" (EFI)
2 - Boot OK to ubuntu
3 - In Synaptic installed grub-efi (which automatically uninstalled grub-pc)

Now i am looking for a way to disable grub changes each time the kernel
changes.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/721544

Title:
  Update replaced grub-efi with grub-pc causing boot failure.

Status in “grub2” package in Ubuntu:
  Expired

Bug description:
  After a fresh install of Alpha2, I performed an update and the system
  would no longer boot... so after a fresh install, I tried the update
  with synaptic to see what it proposed to do.  To my surprise it
  removed grub-efi, and replaced it with grub-pc.  It seems pretty
  obvious that this is somewhat counter productive!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: synaptic 0.75~pre4
  ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
  Uname: Linux 2.6.38-1-generic x86_64
  Architecture: amd64
  Date: Fri Feb 18 21:49:11 2011
  ExecutablePath: /usr/sbin/synaptic
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110202)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   LC_MESSAGES=en_GB.utf8
   SHELL=/bin/bash
  SourcePackage: synaptic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/721544/+subscriptions




More information about the foundations-bugs mailing list