help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB_SAVEDEFAULT how does it work?


From: Chris Murphy
Subject: Re: GRUB_SAVEDEFAULT how does it work?
Date: Tue, 6 Mar 2012 00:20:15 -0700

On Mar 6, 2012, at 12:07 AM, Jordan Uggla wrote:

> On Sat, Mar 3, 2012 at 2:14 PM, Chris Murphy <address@hidden> 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

Are recovery entries exempt from being made default in this manner?



> 
>> 
>> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]