iPXE discussion forum
CPIO magic error - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: CPIO magic error (/showthread.php?tid=6844)



CPIO magic error - keyurparmar - 2013-02-27 07:59

[attachment=26]Hello friends

I try to boot windows Pe as per the guild line given here http://ipxe.org/wimboot but when i run it.

At boot time it is giving me the error of : CPIO MAGIC

I attached the snapshot of it.

For your infromation
I am using the windows pe 2.0


RE: CPIO magic error - robinsmidsrod - 2013-02-27 08:41

You've forgotten the second parameter to the initrd lines. They are supposed to look like this:

Code:
initrd http://myserver/winpe/bootmgr bootmgr

That second mention of "bootmgr" is very important. That instructs iPXE to create a standalone CPIO archive in memory and name the file "bootmgr". Without this extra param on initrd lines wimboot doesn't work as expected, because the windows files are not CPIO archives. They need to be wrapped in memory.