From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PO3hS-0004SN-JU for mharc-grub-devel@gnu.org; Thu, 02 Dec 2010 02:35:30 -0500 Received: from [140.186.70.92] (port=57012 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PO3hO-0004OS-9b for grub-devel@gnu.org; Thu, 02 Dec 2010 02:35:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PO3hM-000695-Vy for grub-devel@gnu.org; Thu, 02 Dec 2010 02:35:26 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:52523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PO3hM-00068K-RV for grub-devel@gnu.org; Thu, 02 Dec 2010 02:35:24 -0500 Received: by wwb17 with SMTP id 17so992759wwb.30 for ; Wed, 01 Dec 2010 23:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=etUabKcitNRPgu4lrhS4jt1a00LuPZ4IC35pyN1UOMg=; b=fnf0RAdDhjj/lp/18D3AdEaWJRKPzGKPffDE3l6uR8JWlLVFw1Dtno9hQGPPZpA02r Nq77LYOJsuzRBEx4eVDygn5RHP6q8rctgZlBIn6DS18xyVvQNU91O7nrsV7+D/t7sSxE SAAkQep+3cs1bNv8aRWuNwfsGjs6DncNa/ujk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=P5ekATHWB0DwdfBuaLd5f5lkvgpsBmOjSfOqGtQej5pwt8mfpP216tvsskoHJBsgxC 891ebbgTzbIg4e8Fwu7K2lZym6Qb+SIK2FUKQa7Mouu5vBPc0ECNAgKVqqFk0zVC1P8m Qg39YaFnsCdu2RlMpSGNGAkpoLjgvnhfBUXYQ= Received: by 10.216.180.133 with SMTP id j5mr8675360wem.79.1291275321763; Wed, 01 Dec 2010 23:35:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.241.140 with HTTP; Wed, 1 Dec 2010 23:35:01 -0800 (PST) In-Reply-To: References: <20101201102429.GT21862@riva.ucam.org> From: Gnanasekar Loganathan Date: Thu, 2 Dec 2010 13:05:01 +0530 Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: increasing grubenv file size X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2010 07:35:28 -0000 Hi Jordan, Hope so all these environment variables being set from the grub itself using "set". Anyhow saving in separate file option is sounds good. Thanks Jordan. Thanks, Gnana On Thu, Dec 2, 2010 at 11:56 AM, Jordan Uggla wrote: > On Wed, Dec 1, 2010 at 8:57 PM, Gnanasekar Loganathan > 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) > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >