* How to extract the cpio archive in the kernel image?
@ 2006-05-31 21:16 Michael Opdenacker
0 siblings, 0 replies; only message in thread
From: Michael Opdenacker @ 2006-05-31 21:16 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hello,
Does anyone know a simple, command line way to extract the cpio archive
embedded in a (compressed) kernel image?
That would be useful to modify the initramfs included in the kernel
image even if one only has the kernel binary and sources, but not the
initramfs sources.
Of course, it is always possible to get the initramfs contents from the
running kernel and dump them somewhere, or to write a custom program for
this purpose (accessing and uncompressing the embedded cpio archive as
the kernel does), but it would be nice it there was a simpler way with
regular Unix commands (I guess involving gunzip and cpio).
In a nutshell, how to open the penguin and still get the golden egg? ;-)
Cheers,
Michael.
--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-31 21:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 21:16 How to extract the cpio archive in the kernel image? Michael Opdenacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox