grub-devel
[Top][All Lists]
Advanced

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

Re: increasing grubenv file size


From: Jordan Uggla
Subject: Re: increasing grubenv file size
Date: Wed, 1 Dec 2010 22:26:39 -0800

On Wed, Dec 1, 2010 at 8:57 PM, Gnanasekar Loganathan
<address@hidden> wrote:
> Hi Colin,
>
> We are storing environment variables like below:
>
> macaddr=ab:cd:ef:12:34:56
> bootfile=image.gnana
> ipaddr=172.30.16.203
> netmask=255.255.0.0
> serverip=172.30.16.90
> gatewayip=172.16.1.1
> ftpuser=username
> ftppasswd=password
> bootcmd=flash(0,0):XXXX-OS-8-3-9-23.bin;default_boot;boot

Are these environment variables being *set* from within grub itself,
or by an administrator booted into an OS? For persistent storage of
environment variables you can simply set the variables with the
grub.cfg, or in a separate cfg file which is sourced by the primary
grub.cfg (like /boot/grub/custom.cfg). Using a normal text file you
can include as many variables as you want, expanding as needed.

That's not to say that it will never be useful to have a larger
grubenv, but it doesn't sound like it's needed in your case.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)



reply via email to

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