Solving “Invalid environment block” problem

Hi,

When you try to boot Linux system and if you get an error message “error: invalid environment block”, press any key or ctrl+x to continue the boot process. After, execute the following commands to fix that error.

$ cd /boot/grub
# rm grubenv
# grub-editenv grubenv create
# grub-editenv grubenv set default=0
# grub-editenv grubenv list
default=0

Try to reboot your system. Everything should work well.
That’s all

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s