[ipxe-devel] Fwd: wimboot failing for BIOS with BAD CPIO magic(FATAL: Could not extract initrd files)

Christian Nilsson nikize at gmail.com
Tue Aug 9 17:27:39 UTC 2016


On Mon, Aug 8, 2016 at 10:28 AM, shishir pahi <shishir.pahi at gmail.com>
wrote:

> Please find the wimbbot pause screen shoot
> I am facing this issue only for BIOS device.
>
> [image: Inline image 1]
>
> Regards,
> Shishir
>
> On Mon, Aug 8, 2016 at 12:27 PM, shishir pahi <shishir.pahi at gmail.com>
> wrote:
>
>> Hi,
>>
>> I am trying PXE boot for WIM file but i am getting BAD CPIO error.
>> For reference please find the screen  shot below.[image: Inline image 1]
>>
>> I am using ADK 8.1 winpe.wim file and below is content of my  IPXE script.
>>
>> Please let me know where i am doing wrong?
>>
>> #!ipxe
>>
>> kernel wimboot
>> initrd boot/pxeboot.n12 pxeboot.n12
>> initrd boot/bootmgr.exe bootmgr.exe
>> initrd boot/rombl.bcd BCD
>> initrd boot/boot.sdi boot.sdi
>> initrd sources/winpe.wim winpe.wim
>> boot
>>
>>
>>
>>
Hi,

Below is a updated script, and some information:

#!ipxe

imgfree
kernel wimboot pause gui
initrd boot/rombl.bcd BCD
initrd boot/boot.sdi boot.sdi
initrd sources/winpe.wim winpe.wim
boot

pxeboot.n12 should not be used or existing.
bootmgr.exe is automatically extracted from supplied .wim

imgfree is added to make sure the "default" file is not added to the cpio
that wimboot uses

Are you sure that your bcd refers to winpe.wim?
A known working and minimal BCD can be found at:
https://github.com/NiKiZe/wimboot-bcd/blob/bcdgen/PXEBCD
but it uses the name boot.wim instead.

/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160809/a850823d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BIOS_IPXE-2016-08-08-12-33-25.png
Type: image/png
Size: 9894 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160809/a850823d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BIOS_IPXE-2016-08-08-12-21-39.png
Type: image/png
Size: 8523 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160809/a850823d/attachment-0001.png>


More information about the ipxe-devel mailing list