Interview Prep/Linux/Boot Process & Kernel

What is kdump?

AdvancedConceptBoot Process & Kernel
Answer

kdump reserves memory at boot (crashkernel= kernel parameter) for a second "capture" kernel. When the main kernel panics, kexec boots the capture kernel, which writes the crashed kernel's memory to /var/crash/ as a vmcore. You then analyze it with crash vmlinux vmcore using matching debug symbols.

sudo systemctl enable --now kdump
kdumpctl status
All Linux questions Roadmap: Linux

More on Boot Process & Kernel