Hello, This is not working, and would not work, as the ISO is embedded in initrd.img file, and cpio command alone is not enough to retrieve the ISO .. You could try it first ..
On Thu, Apr 28, 2011 at 1:03 AM, Léon Keijser <[email protected]> wrote: > On Wed, 2011-04-27 at 21:40 +0000, hai wu wrote: > > Does anyone know how to extract iso file from initrd.img file > > generated from command 'livecd-creator'/'livecd-iso-to-pxeboot'? This > > livecd tools embed the ISO file in initrd.img and hide it there, and > > there is not tool so far to extract ISO file out of initrd.img > > file .. > > > > Something like this? > > > $ file initrd-plymouth.img: > initrd-plymouth.img: gzip compressed data, from Unix, last modified: Mon > Apr 18 23:03:08 2011, max compression > > $ gunzip initrd-plymouth.img -S .img > > $ file initrd-plymouth > initrd-plymouth: ASCII cpio archive (SVR4 with no CRC) > > $ mkdir /tmp/cpio-extracted > $ cd /tmp/cpio-extracted > $ cpio -idmb < /path/to/initrd-plymouth > $ ls > > > regards, > > Léon > > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
