Comment 7 for bug 439784

Revision history for this message
Glen Turner (gdt-gdt) wrote : Re: invalid: environment block

What I meant is that I trialled your idea by hacking my init scripts as you suggest. You might want to test your idea further when I modify the script to "just delete it" the boot sequence still fails complaining about a read failure on grubenv. You need to say "/usr/bin/grub-editenv /boot/grub/grubenv create". Not sure if /usr is mounted at that point, as everything on this machine is in one partition.

The simplest approach might be to patch grub2 loadenv to be more robust when seeing failure.