Installing Kdump

During an Oracle Linux interactive installation with the graphical installer, you have the option to enable Kdump and specify how much system memory is reserved for Kdump. The installer screen is titled Kdump and is available from the main Installation Summary screen of the installer. If you don't enable Kdump at installation time, or it's not enabled by default during an installation, as in the case of a custom kickstart installation, you can install and enable the feature by using the command line.

Before you install and configure Kdump by using the command line, ensure that:

To install and enable Kdump, follow these steps:

  1. Install the kdump package.

    Install Kdump by executing the following command:

    sudo dnf install kexec-tools
  2. Configure the Kdump output location.

    For instructions, see Configuring the Kdump Output Location.

  3. Configure where Kdump saves the dump data.
  4. Start and enable the kdump service.

    Run the following command to start the kdump service, and enable it to start automatically on system boot:

    sudo systemctl enable --now kdump.service