PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil (/showthread.php?tid=7436) |
PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil - jhonny - 2014-08-24 13:46 Hi everyone, I'm having some more PHP woes with IPXE. It seems if i get iPXE to boot a php file and then tell that php file to load some software with wimboot, i get the following error: Quote:Bad CPIO magic, FATAL: could not extract inited file I've tried multiple wim files and they work fine when in iPXE menu, but once php code boots it doesn't want to chain load wimboot properly. My php code is: Code: print "kernel wimboot"."\n"; I've tried using: Code: --autofree for kernel and inited lines, but it doesn't work either :/ I've tried using wimboot 1.0.4 and 1.0.6, both produce the same error. Hahhaha for some reason before i post a message on here i can't find the answer. And as soon as I do i find it ... http://forum.ipxe.org/showthread.php?tid=6844 RE: PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil - robinsmidsrod - 2014-08-25 11:37 You've forgotten the second parameter to the initrd lines. It ensures that the file is packed into an anonymous CPIO archive located in the right location in the virtual filesystem. Code: #don't do this |