[Bug 1311247] Re: [Grubenv] error: malformed file, press any key to continue
Mathew Hodson
mathew.hodson at gmail.com
Tue Nov 10 21:21:43 UTC 2015
** Tags removed: verification-needed
--
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