Solution to “error: invalid environment block” when Ubuntu starts up
1. Error status 2. Solution
1. Error status
When starting Ubuntu with grub, some errors are displayed below:
error: invalid environment block
Press any key to continue...
2. Solutions
Execute the following instructions:
sudo cd /boot/grub
sudo rm grubenv
sudo grub-editenv grubenv create
sudo grub-editenv grubenv set default=0
Now check whether it is feasible
grub-editenv grubenv list
# default=0
Restart again should have no problem.
thank you
Read More:
- Ubuntu network configuration+Fixing “Failed to bring up eth0” in Ubuntu
- Error 13 when grub starts: solving the problem of invalid or unsupported executable
- There is no windows solution in dual system Ubuntu grub startup
- Built on Ethereum, puppeth cannot be used to create the initial block, and an error is reported Fatal: Failed to write genesis block: unsupported fork ordering: eip15
- display:inline-block Solution to the gap problem
- Setting up a virtual environment for jupyter notebook
- Ubuntu starts or restarts SSH service
- How to solve the problem of error 15: file not found when Linux starts
- ORA-19502: write error on file “”, block number (block size=)
- Ubuntu 18.04/ubuntu 16.04 (Ubuntu kylin 18 / 16), the last grub installation failed
- There is a solution to the problem: severity = corrected, type = physical layer, id = 00e5 or id = 00e8 (receiver ID) under Ubuntu
- Solve the problem of “wireless network activation failure” in Ubuntu 18, and repeatedly pop up the password input interface
- Solution to display CPU over voltage error when Windows system starts
- Ubuntu starts Xilinx vivado
- Points for attention in setting up robot framework + Python 3.7.0 environment
- After canceling the startup of Ubuntu terminal, it will automatically enter the base environment of CONDA
- After the vs2013 + OpenGL environment is set up, there is an error in running the first program
- Solution to “the grub PC ‘package failed to install into / target / when installing Ubuntu server
- Python — a solution to [error 24: too many open files] under Ubuntu
- Configuring C + + environment with atom under ubuntu1404