Tag Archives: grub

Linux: Booting in single-user mode

Sometimes it might be necessary to start in single-user mode to do some administration work, or even reset an existing password. Normally this can be achieved via the GRUB boot loader. CentOS / RedHat (with root account enabled) Switch on your system. Press Esc until the GRUB menu shows up. This will bring up the… Read More: Linux: Booting in single-user mode »

Ubuntu/GRUB: Error: invalid environment block

After a recent system update I got the following error message: Luckily the system would boot up but ignoring errors isn’t best practice. This error is caused by a faulty GRUB2 environment block. This is a file located in /boot/grub/grubenv. You can easily regenerate it with the following commands. It is advisable to make a… Read More: Ubuntu/GRUB: Error: invalid environment block »

Ubuntu: Fixing the “error: no video mode activated” message on boot

During boot of your system and just after the BIOS messages Ubuntu might display a black screen with an error: no video mode activated message. The system boots normally but it is annoying. GRUB by default hides the boot menu and this message can show up if there is no video mode set. It seems… Read More: Ubuntu: Fixing the “error: no video mode activated” message on… »