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 _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
