[Bug 1311247] Re: [Grubenv] error: malformed file, press any key to continue
Bertram
bertram at ruetzler.net
Wed Jul 30 12:29:41 UTC 2014
I faced the bug as well, however none of the reported workarounds worked
for me.
After a bit of testing I found out that the error doesn't appear when
booting a boot-entry from the grub-submenu "Advanced options for Ubuntu"
(see attachements), it only appears when selecting the default entry
"Ubuntu".
Since the first entry of the "Advanced"-submenu is the same as the
standard (i.e. the one using the latest kernel) entry, changing the
default boot entry from "0" to "1" in /etc/default/grub did the trick
for me. The error doesn't shop up any more.
/etc/default/grub
#GRUB_DEFAULT=0
GRUB_DEFAULT=1
Just for the sake of completeness: Moving that entry out of the submenu
(by altering /etc/grub/grub.cfg manually) makes the bug reappear. The
entry has to be within the submenu.
** Attachment added: "GRUB menu (including submenu "Advanced options for Ubuntu")"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/+attachment/4165759/+files/grub_menu.png
--
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 GRand Unified Bootloader:
Unknown
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
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