Skip to contentSkip to conversation

kexec -p and initrd

DISCUSSION Chris Friesen 2 participants 2 messages Jul 10, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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?

I'll take a look at the code, but I thought it'd be quicker if someone already knew the answer.

Thanks,
Chris

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#1 lore raw
Quoted 7 lines · Chris Friesen

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

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec