Thanks, this is working.

On Thu, Apr 28, 2011 at 6:18 AM, Alan Pevec <apevec@gmail.com> wrote:
On Thu, Apr 28, 2011 at 6:13 AM, hai wu <haiwu.us@gmail.com> 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.

Alan

--
livecd mailing list
livecd@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/livecd