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