Hi Peter-
I had already testes the coreboot + Linux kernel without SeaBIOS, that works fine. But I do want the rest of the boot menu presented by SeaBIOS because I usually use Windoze as well.

Even if I put the initrd inside the kernel, that can't be loaded by SeaBIOS unless the whole thing is an ELF file, right?

How would that step go (vmlinuz -> ELF)?

R

Peter Stuge <peter@stuge.se> schrieb am Do., 18. Apr. 2019, 06:06:
Rafael Send wrote:
> Alternatively, would it be possible to create an ELF file out of a Linux
> kernel+initrd / bootable image?

Sure, and I find it far more attractive than arcane floppies, charming
as they are.

Build your kernel to include your initramfs, the kernel config option
is CONFIG_INITRAMFS_SOURCE.

Then use that kernel as payload. This page may be useful:

https://www.coreboot.org/Payloads#Linux

Note that using Linux as payload was the very origin of coreboot.


This may also be useful, though AFAIK nobody has confirmed that it works:

https://www.coreboot.org/Initramfs


//Peter
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org