Since it looks like the '/boot/grub/grubenv' file is rewritten upon each
boot, and (as #53 indicates) the '/etc/init.d/grub-common' script
appears to be responsible for this action, I decided to turn off the
'executable' flag on this script--i.e. as root:

chmod -x /etc/init.d/grub-common

As a result, the grubenv file is being left alone now, and the error no
longer reappears.

I must say, though, that the error had occurred at boot time when I
cleared the executable flag on the script. Consequently, the error kept
on happening from that point on, until I reconfigured GRUB--i.e.:

grub-install --force /dev/sdb3
grub-install --force --recheck /dev/sdb3
update-grub

Makes me wonder what is the actual use of the grub-common script? As far
as I can tell, the system works just as well without it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311247

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to