[Bug 439784] Re: Error: Invalid environment block
A. Eibach
439784 at bugs.launchpad.net
Wed Jan 27 17:48:33 UTC 2016
hah.
Maybe this is not a "bug" after all...
Got this as well, and ended up at this LP bug...BUT...there was
something peculiar.
$ head -1 /boot/grubenv
did NOT cleanly display "GRUB Environment Block" but had a few characters garbled in that line.
I remember this from IDE times, with badly-seated cables that don't display MAXTOR but MBYUIPR or whatever on HDD detection. That's because one single bit is off due to one bent pin.
It hasn't happened too rarely that I only saw a skew cable connection when using a magnifiier, or, at least a good lighting source (which is not always given)
So thanks everybody for the "fix", but I can't blame grub2 for it yet.
See above output ($ head....)
--
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/439784
Title:
Error: Invalid environment block
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
Binary package hint: grub2
grub gave this error invalid: environment block when after an unclean shutdown.
I ended up deleting grubenv and that worked to get me booting again but next time unclean shutdown it boots up and runs fsck? shows some inode stuff and next boot i get the message again.
Looking at grubenv: it is showing it to be 0 bytes , when this problem
occurs.
I also have copied grubenv a read only file from a good computer really has same effect as deleting it.
Reinstall grub still same problem.
Running x64 karmic all updates
In anycase this errormessege while may show there's some bigger issue should not stop me from booting, should it?
ProblemType: Bug
Architecture: amd64
Date: Wed Sep 30 22:28:57 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: grub-pc 1.97~beta3-1ubuntu6
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: grub2
Uname: Linux 2.6.31-11-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/439784/+subscriptions
More information about the foundations-bugs
mailing list