help-grub
[Top][All Lists]
Advanced

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

Re: How to remove variable from GRUB environment block


From: Andrey Borzenkov
Subject: Re: How to remove variable from GRUB environment block
Date: Mon, 11 Feb 2013 20:46:33 +0400

В Mon, 11 Feb 2013 14:59:48 +0100
Ulf Zibis <address@hidden> пишет:

> Hi all,
> 
> when I have in grub.cfg:
>    set hello=world
>    save_env hello
> then boot and change again grub.cfg:
>    set hello=
>    save_env hello
> and boot again, variable hello doesn't disappear from /boot/grub/grubenv
> Also following doesn't help:
>    unset hello
>    save_env hello
> 

For all practical purposes, empty variable is the same as non-existing
variable. grub2 does not distinguish between these two cases during
variable expansion.

You can remove variable using grub-editenv command from withing
operating system.



reply via email to

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