Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

During start up I get

Error: invalid environment block. Press any key to continue...

I have done the steps of the first answer from the following link

Error: invalid environment block. Press any key to continue

Things are good for one restart. On the second, the grub message comes back. Please let me know if you have an idea of what's going on. Thanks

share|improve this question
    
This seems to have a solution: bugs.launchpad.net/ubuntu/+source/grub2/+bug/439784 –  Rinzwind Feb 22 '13 at 8:56

2 Answers 2

This should solve it (at least temporarily):

# cd /boot/grub
# rm grubenv
# grub-editenv grubenv create
# grub-editenv grubenv set default=0
# grub-editenv grubenv list
default=0
share|improve this answer

For me the above suggested solution only worked in the first place. The error occurred again after the next reboot. I deleted the partition and installed ubunty a plenty times but the error always occured again after a short time. What really helped was not only to install Ubuntu completely new on my SSD (Samsung SSD 830) but also to leave some unallocated disc space (for new ssds about 7%) on the ssd and not formatting the whole space. Since then I never had the error again.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.