initrd weirdness

Brad De Vries devriesbj
Thu Feb 2 21:02:58 PST 2006


On 2/2/06, Net Llama! <netllama at linux-sxs.org> wrote:
> I'm trying to create a custom SuSE boot/install CD.  I extracted the
> initrd that comes with the SusE-10 (x86_64) and made a few minor changes
> to autoyast.xml (an xml file), however when I put the initrd back together
> again with cpio and gzip it, the size of it is almost 3 times larger than
> the original, and I can't figure out why.  My changes were just some plain
> text tweaks, certainly nothing that would increase the size more than a
> few bytes, much less many MB.
>
> The command that i'm using to create the initrd is as follows:
> find . -depth -print | cpio -ov > initrd
>
> then I'm just running gzip on it.  And before someone suggests, i do not
> have original initrd stuck in the new one.  Anyone have any ideas, or see
> something i could be doing wrong?  thanks.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Lonni J Friedman                        netllama at linux-sxs.org
> LlamaLand                               http://netllama.linux-sxs.org

Is it possible to gunzip the original and compare it to your cpio
file?  If it is, then you'll know if it's a gzip difference or a cpio
difference.

Brad.



More information about the Linux-users mailing list