[Bug 1311247] Re: [Grubenv] error: malformed file, press any key to continue
dino99
1311247 at bugs.launchpad.net
Wed May 28 06:50:01 UTC 2014
New feedback
With previous boot commented since post #35, i have cleaned grubenv and set it with:
# GRUB Environment Block
grub-set-default Ubuntu
Today the cold boot is showing and other error instead the 'malformed
file'; now it is 'environment block too small'. What is strange is that
grubenv is checked by the boot process, but this time it has not been
rewriten. That grubenv file is owned by 'root' and is 'rw'; should not
it be only 'r' ?
Well, after glancing around that issue, there is a bunch of threads &
reports about it over the net, like lp:439784; but sadly the number of
opened grub reports is scary: lot of them are quite old and still not
fixed.
Now i will test the proposed solution:
sudo su
cd /boot/grub
rm grubenv
grub-editenv grubenv create
grub-editenv grubenv set default=0
grub-editenv grubenv list
default=0
and then: dpkg-reconfigure grub-pc
hm, checking the new grubenv file , it is still 'rw'
--
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 “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/ubuntu/+source/grub2/+bug/1311247/+subscriptions
More information about the foundations-bugs
mailing list