The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil
2014-08-24, 13:46 (This post was last modified: 2014-08-24 14:07 by jhonny.)
Post: #1
PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil
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";
    print "initrd http://192.168.0.1/iso/paragon/BOOTMGR"."\n";
    print "initrd http://192.168.0.1/iso/paragon/ibm/BOOT/BOOT.SDI"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/BCD"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/MEMTEST.EXE"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/FONTS/CHS_BOOT.TTF"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/FONTS/CHT_BOOT.TTF"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/FONTS/JPN_BOOT.TTF"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/FONTS/KOR_BOOT.TTF"."\n";
    print "initrd http://192.168.0.1/iso/paragon/BOOT/FONTS/WGL4_BOOT.TTF"."\n";
    print "initrd http://192.168.0.1/iso/paragon/SOURCES/BOOT.WIM"."\n";
    print "boot"."\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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
PHP causing wimboot to fail with: Bad CPIO magic, FATAL: could not extract inited fil - jhonny - 2014-08-24 13:46



User(s) browsing this thread: 1 Guest(s)