[coreboot] grub as payload: Where to put the grub.cfg?
nico.h at gmx.de
Wed Nov 9 23:30:18 CET 2016
On 09.11.2016 22:03, Philipp Stanner wrote:
> Hi Nico,
> thanks so far.
> Using your own pointer to the HDD serves to purpose of being able to
> change the cfg-file without flashing the ROM, I presume?
> Anyhow using grub you'd have to use the Shell to start an OS from an
> external drive - in an emergency for example, correct?
You can also load SeaBIOS from GRUB, I suppose.
> Am 09.11.2016 um 10:19 schrieb Nico Huber:
>> Hi Philipp,
>> On 09.11.2016 09:46, Philipp Stanner wrote:
>>> I'm currently busy making cb+grub running. While I can boot successfully
>>> (qemu) using the grub-shell I of course want to automatize this process.
>>> But how and where do I have to put the grub.cfg file? The wiki doesn't
>>> include much informations about this.
>>> I would appreciate if someone could help me :)
>> it's indeed not very obvious. There should be a grub.cfg in the grub
>> image, that just points to the next in cbfs at "/etc/grub.cfg". That's
>> where you should put yours, like that:
>> build/cbfstool build/coreboot.rom add -t raw -n etc/grub.cfg -f
>> PS. My (cbfs)/etc/grub.cfg contains just another pointer:
>> configfile (ahci0,1)/grub/grub.cfg
More information about the coreboot