[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unknown command 'else'?
From: |
Steven Shiau |
Subject: |
Re: Unknown command 'else'? |
Date: |
Fri, 18 Sep 2015 14:44:21 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 2015年09月18日 14:29, Andrei Borzenkov wrote:
> Yes, looks like it. It needs some adjustment. Care to open bug report
> on savannah.gnu.org?
OK, I will.
>
>> > It mentions that when echo, search_label, and test modules to be
>> > included in the core image, the above embedded config should work.
>> > Actually the running result for the above if condition works, just the
>> > error message looks weird.
> What do you mean "works"? It shows last error, so you simply do not
> see errors about preceding "if" or "configfile" commands. Actually, I
> have somewhere patch to make it more verbose at this point ...
Thanks. When I mentioned "works", it means, if I remove
/tftpboot/nbi_img/grub.cfg-01:00:0c:29:1d:9a:d1
from tftp server while keeping /tftpboot/nbi_img/grub.cfg, it actually
will load
/tftpboot/nbi_img/grub.cfg
Then, if both
/tftpboot/nbi_img/grub.cfg-01:00:0c:29:1d:9a:d1
and
/tftpboot/nbi_img/grub.cfg
are removed, then it does show the error message:
Could not find config file
/tftpboot/nbi_img/grub.cfg-01:00:0c:29:1d:9a:d1 or
/tftpboot/nbi_img/grub.cfg!
then
sleep for 10 secs.
As you saw the attached file in my 1st post in this thread:
http://lists.gnu.org/archive/html/help-grub/2015-09/pngxbX870kyfT.png
Weird?
>
> As I just suggested in another thread - create standalone image using
> grub-mkstandalone. It puts full grub in memory disk and you can add
> grub.cfg on top of it. This grub.cfg runs after normal.mod is loaded
> from memory disk so full functionality is available.
Cool. I am new to this list so I will search to see how to make this
with grub-mkstandalone.
Appreciate.
Steven.
--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/47CF935C
Fingerprint: 0240 1FEB 695D 7112 62F0 8796 11C1 12DA 47CF 935C
- Unknown command 'else'?, Steven Shiau, 2015/09/17
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/18
- Re: Unknown command 'else'?, Steven Shiau, 2015/09/18
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/18
- Re: Unknown command 'else'?,
Steven Shiau <=
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/18
- Re: Unknown command 'else'?, Steven Shiau, 2015/09/18
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/18
- Re: Unknown command 'else'?, Steven Shiau, 2015/09/18
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/18
- Re: Unknown command 'else'?, Steven Shiau, 2015/09/18
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/19
- Re: Unknown command 'else'?, Steven Shiau, 2015/09/22
- Re: Unknown command 'else'?, Michael Mohr, 2015/09/22
- Re: Unknown command 'else'?, Andrei Borzenkov, 2015/09/22