[Top][All Lists]

[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
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
from tftp server while keeping /tftpboot/nbi_img/grub.cfg, it actually
will load
Then, if both
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
sleep for 10 secs.
As you saw the attached file in my 1st post in this thread:

> 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.

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

reply via email to

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