[Fedora-livecd-list] Extract original ISO from initrd.img file

hai wu haiwu.us at gmail.com
Thu Apr 28 14:50:35 UTC 2011


Thanks, this is working.

On Thu, Apr 28, 2011 at 6:18 AM, Alan Pevec <apevec at gmail.com> wrote:

> On Thu, Apr 28, 2011 at 6:13 AM, hai wu <haiwu.us at 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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20110428/b8d886ff/attachment.html 


More information about the livecd mailing list