[ipxe-devel] appnote/debian_preseed instructions are wrong

Christian Nilsson nikize at gmail.com
Wed Aug 12 11:42:36 UTC 2020


On Wed, 12 Aug 2020, 13:30 Michael Brown, <mcb30 at ipxe.org> wrote:

> On 12/08/2020 08:50, Etienne Champetier wrote:
> >>> 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.
> >
> > Do you have a working exemple (maybe I need a special path) ?
> > Does it need a recent kernel ? (I think I did my tests with CentOS 7
> kernel)
> > Does it need a specific ipxe compile option ?
>
> No specific iPXE compile option.  Any kernel built with CONFIG_EFI_STUB
> should work, which includes all current distro kernels as far as I know.
>
> Any image downloaded by iPXE will be available within the virtual
> filesystem using the filename as shown by "imgstat".  Linux can access
> these files using the initrd= kernel command-line argument.
>
> In the most simple example, something like:
>
>    #!ipxe
>    kernel http://boot.ipxe.org/demo/vmlinuz initrd=initrd.img
>    initrd http://boot.ipxe.org/demo/initrd.img
>    boot
>
>  From memory, the initrd= option supports a comma-separated list.  I
> can't immediately find documentation to support this, though.
>
> Michael
>

>
> If one wants to add a extra configuration file as well, the extra cpio
> header needs to be added to that file to work in efi mode.


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200812/a25c8002/attachment.htm>


More information about the ipxe-devel mailing list