[coreboot] How to give control to bootable USB

Nico Huber nico.h at gmx.de
Thu Jun 15 13:29:14 CEST 2017


On 15.06.2017 07:31, Dhanasekar Jaganathan wrote:
> Hi Nico/Taiidan,
> 
> After entering "*syslinux_configfile (*", when I press *TAB, I* I am not
> seeing anything (nothing is coming)..
> 
> So, I have tried this command *"syslinux_configfile
> (usb0)/boot/grub/grub.cfg" *and got the error (Kernel without label).

Read what Taiidan wrote carefully:

>>>> also configfile (ahci0,msdos1)/grub2/grub.cfg to load a grub cfg

For a grub.cfg, it's a plain *configfile* (not syslinux_configfile).

Nico

> 
> My USB ONIE installers has following files,
> 
> */initrd.xz*
> 
> */vmlinuz*
> 
> */boot/boot.cat <http://boot.cat>*
> 
> */boot/eltorito.img*
> 
> */boot/grub/gurb.cfg*
> 
> */boot/i386-PC/ *.mod (Lot of .mod files)*
> 
> 
> Thanks,
> Dhanasekar
> 
> 
> 
> On Thu, Jun 15, 2017 at 5:01 AM, Nico Huber <nico.h at gmx.de> wrote:
> 
>> Hi Dhanasekar,
>>
>> On 14.06.2017 11:21, Dhanasekar Jaganathan wrote:
>>> Hi Taiidan,
>>>
>>> My USB ONIE installers don't have "isolinux/syslinux.cfg". It has
>>> "boot/grub/grub.cfg".
>>>
>>> When I try to run "syslinux_configfile (usb0)/boot/grub/grub.cfg" in GRUB
>>> command line, I am getting "*kernel without label*" error.
>>>
>>> Please provide your commands
>>
>> Taiidan already told you the correct command name (33 lines below). You
>> might have missed it ;)
>>
>> Nico
>>
>>>
>>> Thanks,
>>> Dhanasekar
>>>
>>> On Wed, Jun 14, 2017 at 3:22 AM, Taiidan at gmx.com <Taiidan at gmx.com>
>> wrote:
>>>
>>>> On 06/13/2017 10:22 AM, Dhanasekar Jaganathan wrote:
>>>>
>>>> Hi All,
>>>>>
>>>>> I am trying to install ONIE from USB which has ONIE installer.
>> Actually, I
>>>>> am using GRUB2 as a payload.  If Coreboot display list of bootable
>>>>> device,I
>>>>> can select USB which will install a OS in the hard disk.  As I
>> understood
>>>>> that Coreboot won't display list of available bootable device (not like
>>>>> vendor bios).I don't know how to give control to bootable USB or boot a
>>>>> bootable USB by coreboot. Can you please help me on this?.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Dhanasekar
>>>>>
>>>> Assuming you are booting a standard linux distro iso:
>>>> syslinux_configfile (*TAB* to see what is available
>>>>
>>>> then simply for instance syslinux_configfile (usb0,msdos1)/isolinux/
>> syslinux.cfg
>>>> (or w/e)
>>>>
>>>> also configfile (ahci0,msdos1)/grub2/grub.cfg to load a grub cfg
>>>>
>>>> Ideally you would add a grub cfg to the coreboot image that does
>> something
>>>> like load a config file from a specified local disk so that it is easy
>> to
>>>> update (ie: no re-flashing) instructions for that are on the wiki.
>>>>
>>>> SeaBIOS would provide the classic AMI style F12 selection menu, but I
>>>> don't like it due to how many times I have accidentally enabled option
>> rom
>>>> execution by forgetting to include the configuration file.
>>>>
>>>
>>>
>>>
>>
>>
> 




More information about the coreboot mailing list