[Bug 439784] Re: Error: Invalid environment block

Fabien Grise 439784 at bugs.launchpad.net
Wed Jun 1 19:03:49 UTC 2011


I just encountered this bug today on Ubuntu 11.04 (64 bits if that matters).
My computer froze and after reboot, got this error. Ubuntu seems to boot but apparently the X server cannot start.

I can still boot using the failsafe option in grub, but after making the changes to recreate grubenv, every time I reboot something writes over grubenv and it has a size of 0 ...
My version of grub is 1.99~rc1-13ubuntu3.

-- 
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




More information about the foundations-bugs mailing list