From Fedora Project Wiki

Description

Provision Fedora CoreOS and test kdump

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).

How to test

  1. Launch your Fedora CoreOS system. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
  2. Create an Ignition file that enables kdump
  3. Launch your Fedora CoreOS system using this Ignition file.
  4. Trigger a kernel dump using the following commands

# echo 1 > /proc/sys/kernel/sysrq

# echo c > /proc/sysrq-trigger

  1. The system will capture the kernel dump and reboot.
  2. Verify the kernel dump is captures in /var/crash

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. Verify triggering a kernel dump will produce crash files in /var/crash
  3. The linked documentation is clear, all steps are understandable, and nothing important is missing from it.