Thanks, this is working.

On Thu, Apr 28, 2011 at 6:18 AM, Alan Pevec <> wrote:
On Thu, Apr 28, 2011 at 6:13 AM, hai wu <> wrote:
> Is there a tool to auto-extract livecd/ISO file from initrd.img (which was
> generated from livecd-iso-to-pxeboot command)?

-to-pxeboot appends gziped cpio archive with ISO file to the original
initrd cpio archive, so if you know original initrd size, you could
extract appendix using e.g. dd. In general case, tool is needed to
search for the end-of-cpio-archive marker ("TRAILER!!!") which is what
attached Richard's initrdsplitter.c is doing, Read comments for usage.


livecd mailing list