[klibc] extract the initramfs from a kernel
octane indice
octane at alinto.com
Mon Oct 15 10:05:23 PDT 2007
Replying to Milton Miller <miltonm at bga.com> :
> > and from a kernel lying on a disk?
> yes
> > If yes, how?
> If you have the original unstripped vmlinux
> objcopy -j .init.ramfs -O binary vmlinux initramfs
> will create a file called initramfs.
> If you have some other format, you need to extract and
> uncompress the kernel. If the elf header has been
> stripped, then look at System.map
> to find the limits __initramfs_start and __initramfs_end.
Ok, my original goal was to hide some sensitive data on
it, giving me the ability to do some sanity check before
booting. If anybody can find it, read my passwords and
checks, it's useless..
Eurolines : Voyagez au meilleur prix : http://www.alinto.com/pub/
More information about the klibc
mailing list