<div dir="ltr">Hello Dhanasekar,<div><br></div><div>This, I guess, is not (entirely) correct:</div><div><br></div><div><div>menuentry "ONIE: Embed ONIE" --class gnu-linux --class onie {</div><div>  echo    "ONIE: Embedding ONIE ..."</div><div>  onie_entry_start</div><div>  <b><i><u>linux   /vmlinuz</u></i></b> $ONIE_CMDLINE_LINUX boot_reason=embed install_url=file:///lib/onie/o<wbr>nie-updater</div><div> <b><i><u> initrd  /initrd.xz</u></i></b></div><div>  onie_entry_end</div></div><div><br></div><div>You should have something similar to the following:<br></div><div><br></div><div><div>menuentry "ONIE: Embed ONIE" --class gnu-linux --class onie {</div><div>  echo    "ONIE: Embedding ONIE ..."</div><div>  onie_entry_start</div><div>  set root='hdX,msdosY' ## hdX is your USB stick, Y partition, U R booting from, U should find going to GRUB2 monitor (with > prompt)</div><div>  set isofile=/<dir path>/ONIE-live-XYZ.iso ## or whatever your ONIE... .iso image is named</div><div>  loopback loop $isofile</div><div>  <b><i><u><font color="#ff0000">linux  (loop)/live/vmlinuz</font></u></i></b> $ONIE_CMDLINE_LINUX boot_reason=embed install_url=file:///lib/onie/o<wbr>nie-updater</div><div>  <b><i><u><font color="#ff0000">initrd (loop)/live/initrd.xz</font></u></i></b></div><div>  onie_entry_end</div></div><div><br></div><div>Please, investigate a bit more using <a href="http://google.com" target="_blank">google.com</a>! And let us know if you did solve the problem (post the final grub2 menyentry which works for you).</div><div><br></div><div>Hope this helps to the whole community. ;-)</div><div><br></div><div>Zoran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 2:33 PM, Dhanasekar Jaganathan <span dir="ltr"><<a href="mailto:jdhanasekarmca@gmail.com" target="_blank">jdhanasekarmca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nico,<div><br></div><div>Sorry, It is typo. I have tried with <b>configfile (usb0)/boot/grub/grub.cfg</b> only.. </div><div><br></div><div>with a new <b>boot/grub/grub.cfg</b>, I am getting following error,</div><div><br></div><div><b><i>error: file '/vmlinuz' not found.</i></b></div><div><b><i><br></i></b></div><div><b><i>error: you need to load the kernel first. </i></b></div><div><br></div><div><br></div><div>FYR, I have attached  /boot/grub/grub.cfg(which is present in USB). </div><div><br></div><div>Thanks,</div><div>Dhanasekar</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 4:59 PM, Nico Huber <span dir="ltr"><<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15.06.2017 07:31, Dhanasekar Jaganathan wrote:<br>
> Hi Nico/Taiidan,<br>
><br>
> After entering "*syslinux_configfile (*", when I press *TAB, I* I am not<br>
<span>> seeing anything (nothing is coming)..<br>
><br>
</span>> So, I have tried this command *"syslinux_configfile<br>
> (usb0)/boot/grub/grub.cfg" *and got the error (Kernel without label).<br>
<br>
Read what Taiidan wrote carefully:<br>
<span><br>
>>>> also configfile (ahci0,msdos1)/grub2/grub.cfg to load a grub cfg<br>
<br>
</span>For a grub.cfg, it's a plain *configfile* (not syslinux_configfile).<br>
<br>
Nico<br>
<span><br>
><br>
> My USB ONIE installers has following files,<br>
><br>
</span>> */initrd.xz*<br>
><br>
> */vmlinuz*<br>
><br>
> */boot/<a href="http://boot.cat" rel="noreferrer" target="_blank">boot.cat</a> <<a href="http://boot.cat" rel="noreferrer" target="_blank">http://boot.cat</a>>*<br>
><br>
> */boot/eltorito.img*<br>
><br>
> */boot/grub/gurb.cfg*<br>
><br>
> */boot/i386-PC/ *.mod (Lot of .mod files)*<br>
<div class="m_-3891632859363329643HOEnZb"><div class="m_-3891632859363329643h5">><br>
><br>
> Thanks,<br>
> Dhanasekar<br>
><br>
><br>
><br>
> On Thu, Jun 15, 2017 at 5:01 AM, Nico Huber <<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>> wrote:<br>
><br>
>> Hi Dhanasekar,<br>
>><br>
>> On 14.06.2017 11:21, Dhanasekar Jaganathan wrote:<br>
>>> Hi Taiidan,<br>
>>><br>
>>> My USB ONIE installers don't have "isolinux/syslinux.cfg". It has<br>
>>> "boot/grub/grub.cfg".<br>
>>><br>
>>> When I try to run "syslinux_configfile (usb0)/boot/grub/grub.cfg" in GRUB<br>
>>> command line, I am getting "*kernel without label*" error.<br>
>>><br>
>>> Please provide your commands<br>
>><br>
>> Taiidan already told you the correct command name (33 lines below). You<br>
>> might have missed it ;)<br>
>><br>
>> Nico<br>
>><br>
>>><br>
>>> Thanks,<br>
>>> Dhanasekar<br>
>>><br>
>>> On Wed, Jun 14, 2017 at 3:22 AM, <a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a> <<a href="mailto:Taiidan@gmx.com" target="_blank">Taiidan@gmx.com</a>><br>
>> wrote:<br>
>>><br>
>>>> On 06/13/2017 10:22 AM, Dhanasekar Jaganathan wrote:<br>
>>>><br>
>>>> Hi All,<br>
>>>>><br>
>>>>> I am trying to install ONIE from USB which has ONIE installer.<br>
>> Actually, I<br>
>>>>> am using GRUB2 as a payload.  If Coreboot display list of bootable<br>
>>>>> device,I<br>
>>>>> can select USB which will install a OS in the hard disk.  As I<br>
>> understood<br>
>>>>> that Coreboot won't display list of available bootable device (not like<br>
>>>>> vendor bios).I don't know how to give control to bootable USB or boot a<br>
>>>>> bootable USB by coreboot. Can you please help me on this?.<br>
>>>>><br>
>>>>><br>
>>>>> Thanks,<br>
>>>>> Dhanasekar<br>
>>>>><br>
>>>> Assuming you are booting a standard linux distro iso:<br>
>>>> syslinux_configfile (*TAB* to see what is available<br>
>>>><br>
>>>> then simply for instance syslinux_configfile (usb0,msdos1)/isolinux/<br>
>> syslinux.cfg<br>
>>>> (or w/e)<br>
>>>><br>
>>>> also configfile (ahci0,msdos1)/grub2/grub.cfg to load a grub cfg<br>
>>>><br>
>>>> Ideally you would add a grub cfg to the coreboot image that does<br>
>> something<br>
>>>> like load a config file from a specified local disk so that it is easy<br>
>> to<br>
>>>> update (ie: no re-flashing) instructions for that are on the wiki.<br>
>>>><br>
>>>> SeaBIOS would provide the classic AMI style F12 selection menu, but I<br>
>>>> don't like it due to how many times I have accidentally enabled option<br>
>> rom<br>
>>>> execution by forgetting to include the configuration file.<br>
>>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div><br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div>