[ipxe-devel] Multiple initrd in UEFI

Christian Nilsson nikize at gmail.com
Wed Sep 6 05:05:58 UTC 2017


On Wed, Sep 6, 2017 at 5:45 AM, hhh <longpanda at 163.com> wrote:

> I test the script as follows:
>
> #!ipxe
>
> kernel /boot/vmlinuz
> initrd initrd.img
> initrd /test.sh /root/test.sh mode=755
> boot
>
> It works fine in legacy bios mode, but in UEFI, there is no test.sh found
> in the rootfs after boot.
>
> Is the feture not supported in UEFI?
>
> Any help would be greatly appreciated.
>
> long
>
>
In short, this is currently not supported in EFI mode.

What happens here is that you are booting a bzImage, the cpio handling is
only done when the bzImage type is booted and is not when the initrd is
loaded.
In EFI mode everything goes via the EFI image type instead, which has no
such handling.
(enabling bzImage support in EFI mode is not possible)

I have requested support for this as well, but there are some issues that
as of yet does not have any clear solution.

Maybe Michael can give us an update on this.

/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20170906/79ab26dc/attachment.htm>


More information about the ipxe-devel mailing list