kexec kernel with embedded initrd?

Geoff Levand geoffrey.levand at am.sony.com
Fri Dec 19 12:20:31 EST 2008


Sven Anders wrote:
> I want to boot a kernel (bzImage) with an embedded initrd (CPIO archive using
> the CONFIG_INITRAMFS_SOURCE option).
> 
> Can I simply load the kernel with kexec or do I have to extract the initrd
> first and load them using the --initrd option?
> 
> If I have to extract them first, is there a tool for this?

You should be able to just load the bzImage.  The kernel image should know
how to then use the initramfs.  I know it works for powepc64 at least.

-Geoff 




More information about the kexec mailing list