[ipxe-devel] appnote/debian_preseed instructions are wrong

Etienne Champetier champetier.etienne at gmail.com
Mon Aug 3 12:00:03 UTC 2020


Hi Michael

Le lun. 3 août 2020 à 14:30, Michael Brown <mcb30 at ipxe.org> a écrit :
>
> On 03/08/2020 12:03, Robin Smidsrød wrote:
> > I seem to recall that this initrd/cpio magic described in the document
> > only works on legacy BIOS, not EFI.
>
> The automagical construction of CPIO archives is indeed for legacy BIOS
> only.  On UEFI, we provide the kernel with a virtual filesystem from
> which it can load arbitrary files without needing a CPIO wrapper.

Maybe I tested with an old version, but I was not able to load a file
with relative path without it being a cpio in UEFI mode
What worked for me, from an http server I chain load a ipxe script
with something like
~~~~
kernel ../kernel/vmlinuz initrd=initrd.img initrd=myks.cfg.cpio
inst.ks=file:/myks.cfg ...
initrd ../kernel/initrd.img
initrd ../ks/myks.cfg.cpio
boot
~~~~

Etienne

>
> Michael


More information about the ipxe-devel mailing list