On Mon, Mar 5, 2012 at 11:20 PM, Chris Murphy <[email protected]> wrote: > > On Mar 6, 2012, at 12:07 AM, Jordan Uggla wrote: > >> On Sat, Mar 3, 2012 at 2:14 PM, Chris Murphy <[email protected]> wrote: >>> grub2-editenv list >>> >>> <empty> >>> The file exist, is 1024 bytes, but contains nothing according to this >>> command. >> >> It's normal for there to be nothing there until you have booted from >> grub (after changing this option). Have you done so? > > Yes. > >> If so, the >> problem may be that you don't have a writable grubenv for some reason. >> If you press "c" when you get to the grub menu and then run "save_env" >> it should test this. If it returns without error, your grubenv is >> writeable, if it gives an error message then it's not. > > grub> save_env > error: no variable is specified
My fault. Try "testvar=foo; save_env testvar". > > Are recovery entries exempt from being made default in this manner? Yes. > > > >> >>> >>> 4. >>> /boot/grub2 is on an ext4 volume. >> >> Is it an ext4 filesystem on top of another abstraction like LVM or >> RAID? Either would prevent grub from writing to grubenv for safety >> reasons. > > No. > > > Chris Murphy > _______________________________________________ > Help-grub mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-grub -- Jordan Uggla (Jordan_U on irc.freenode.net) _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
