Displaying 2 results from an estimated 2 matches for "__initramfs_start".
2007 Oct 12
3
extract the initramfs from a kernel
Hello,
is there a way to extract an initramfs from a running kernel?
and from a kernel lying on a disk?
If yes, how?
Thanks
Eurolines : Voyagez au meilleur prix : http://www.alinto.com/pub/
2003 Nov 14
1
initramfs gunzip problems.
...looks like an initrd
The same .cpio archive works if I don't gzip it. I stuck a bunch of
debug statements into the gunzip function to see what was happening.
The core of the problem is in the init/initramfs.c, the populate_rootfs
and unpack_to_rootfs functions.
I see a 512byte image at &__initramfs_start being uncompressed. Then I
see my image during the dry-run inside the "if (initrd_start)" block,
which gets checked correctly with gunzip(). The problem is that the
same call to unpack_to_rootfs() finds another header, which is broken.
I solved the problem with the following patch. I...