Thanks again Colin!

-Gnana


On Wed, Nov 24, 2010 at 3:44 PM, Colin Watson <[email protected]> wrote:

> On Wed, Nov 24, 2010 at 10:44:31AM +0530, Gnanasekar Loganathan wrote:
> >    What is the grubenv format?
>
> Currently, it is a 1024-byte file beginning with "# GRUB Environment
> Block\n".  Entries are written as "NAME=VALUE\n".  The file is
> fixed-size, and free space up to the end of the file is filled with '#'
> characters.
>
> However, the format is not documented, and so if you write any code
> outside GRUB to edit these files it is subject to breaking with future
> versions of GRUB.  Use the grub-editenv utility instead.
>
> >    I'm try to saving an environment variable in file, i'm getting
> "invalid
> >    environment variable" or "environment block too small".
> >
> >    grubenv file contains:
> >
> >    # GRUB Environment block
> >    ############################# --> continues.....
>
> If that's exactly as written, then the signature is incorrect ("block"
> instead of "Block").
>
> --
> Colin Watson                                       [[email protected]]
>
> _______________________________________________
> Grub-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to