[ipxe-devel] initrd corruption since commit ef038491858cb51f8aa17b1f6e50444d2e627413
Michael Brown
mcb30 at ipxe.org
Mon Apr 28 14:59:06 UTC 2025
On 26/04/2025 01:07, Michael Brown via ipxe-devel wrote:
> On 25/04/2025 22:12, Sven Dreyer via ipxe-devel wrote:
>> Now it doesn't boot because the initrd seems corrupted:
>> Initramfs unpacking failed: invalid magic at start of compressed archive
>>
>> Comparable problems apply to wimboot 2.8.0 trying to boot a Windows PE
>> 10.0-26100 x86_64:
>> Unexpected output length 0x0 (expected 0x8000)
>> Could not patch WIM boot.wim
>>
>> Setup is:
>> - x86_64 on BIOS (not UEFI)
>> - PXE boot configured
>> - Integrated PXE loads ipxe.pxe (self compiled from git master)
>> - iPXE loads script
>> - script for Debian nfsroot loads both initrd and kernel via nfs://
>> uri and boots kernel with append parameters
>> - script for Windows PE loads wimboot 2.8.0 and further windows files
>> over HTTP
>>
>> What I noticed is:
>> - The problem occurs with ipxe.pxe, undionly.kpxe and undionly.kkpxe
>> - When switching to UEFI (and using ipxe.efi), the problem does NOT occur
>> - A git bisect reveals that ef038491858cb51f8aa17b1f6e50444d2e627413
>> is the first bad commit.
>> - Before commit ef038491858cb51f8aa17b1f6e50444d2e627413, everything
>> works for me.
>>
>> Is there anything I can do to track this problem down?
>
> I'm unable to reproduce your problem, sorry.
Now reproduced, and should be fixed in commit
https://github.com/ipxe/ipxe/commit/412ad5601
Thanks,
Michael
More information about the ipxe-devel
mailing list