kexec -p and initrd

Vivek Goyal vgoyal at redhat.com
Wed Jul 10 14:58:20 EDT 2013


On Wed, Jul 10, 2013 at 12:49:48PM -0600, Chris Friesen wrote:
> Hi,
> 
> I'm trying to figure something out but the man pages seem a bit
> ambiguous.  If I specify the "--initrd" option when loading a kernel
> for use on panic, does the initrd get copied into kernel memory at
> that point or does it get loaded from the specified path after the
> panic when the new kernel is booting?

Yes, it gets loaded in kernel memory once kexec -p returns successfuly.

For more internals, have a look at.

http://lse.sourceforge.net/kdump/documentation/ols2oo5-kdump-paper.pdf

Vivek



More information about the kexec mailing list