[Bug 1311247] Re: [Grubenv] error: malformed file, press any key to continue
Mossroy
1311247 at bugs.launchpad.net
Sat Oct 24 15:41:16 UTC 2015
I successfully tested this patch.
Here is what I did :
- enabled proposed repository
- ran the following command-line (it might not be the same on different hardware) :
sudo apt-get install grub-pc
On my computer (no UEFI), it upgraded the following packages :
grub-common grub-pc grub-pc-bin grub2-common
- disabled proposed repository
- rebooted the computer (and pray ;-) ) : no error message
- rebooted the computer more than 20 more times (with some cold reboots, with and without displaying the grub menu, and after playing with memtest86, too) : no error message
- checked that the version displayed in the grub menu is 2.02~beta2-9ubuntu1.4
So I'd say it really fixed the issue for me, with no side effect.
I don't know what happened in bug 1507175 , but I did not have this issue.
I'm not sure if I should replace the verification-failed tag, but I'll add a verification-done one.
As grub is a very critical piece of software, I would be more confident if some other persons confirm it's working for them too.
NB : I'm using Ubuntu 14.04.3 (64bit) on an Asus Eee PC 1015PX
** Tags added: verification-done
--
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