[Bug 1311247] Re: [Grubenv] error: malformed file, press any key to continue

Adam Conrad adconrad at 0c3.net
Mon Oct 5 10:28:22 UTC 2015


Hello Rkimber, or anyone else affected,

Accepted grub2-signed into trusty-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/grub2-signed/1.34.5 in a few hours,
and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Also affects: grub2-signed (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: grub2-signed (Ubuntu)
       Status: New => Fix Released

** Changed in: grub2-signed (Ubuntu Trusty)
       Status: New => Fix Committed

** Changed in: grub2-signed (Ubuntu Trusty)
     Assignee: (unassigned) => Adam Conrad (adconrad)

-- 
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/1311247

Title:
  [Grubenv] error: malformed file, press any key to continue

Status in grub:
  Unknown
Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2-signed package in Ubuntu:
  Fix Released
Status in grub2 source package in Trusty:
  Fix Committed
Status in grub2-signed source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

  Some users with specific partitioning schemes may see a grub error
  message interrupting boot:

  "error: malformed file, press any key to continue"

  It appears to be caused by an invalid check for block overlap in
  grub2, and only applies to very specific installs, mostly using ext4,
  possibly limited to recent kernel versions.

  [Test Case]

  On an affected system, try to reboot the system.

  [Regression Potential]

  This is a fix which has been applied upstream for over a year, and
  included in 15.04. It changes comparisons in start and end values for
  block numbers to correctly match overlapping lists, and therefore
  should not affect more typical partitioning where there is no overlap.
  In effect, this changes increases the number of cases where a
  blocklist is deemed valid without removing the formerly accepted
  states, when loading the environment block.

  A possible regression might show up as grub being unable to retrieve
  its last state for boot (ie. which menu entry was selected last time),
  but still successfully booting.

  --

  I have just upgraded from 12.04 to 14.04

  Since the upgrade, when I boot up, the process stops and the normal
  grub screen is replaced after a short while by a message saying

  "error: malformed file, press any key to continue"

  Pressing a key allows booting to continue.

  Someone else who experienced this found that the problem went away
  after having re-installed grub. I tried this but this did not resolve
  the problem for me.

  synaptic reports the grub package as 2.02~beta2-9

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1311247/+subscriptions



More information about the foundations-bugs mailing list