< Previous | Contents | Next >
6.3. Installation
The kernel crash dump utility is installed with the following command:
sudo apt install linux-crashdump
Starting with 16.04, the kernel crash dump mechanism is enabled by default. During the installation, you will be prompted with the following dialog. Unless chosen otherwise, the kdump mechanism will be enabled.
|------------------------| Configuring kdump-tools |------------------------|
| |
| |
| If you choose this option, the kdump-tools mechanism will be enabled. A |
| reboot is still required in order to enable the crashkernel kernel |
| parameter. |
| |
| Should kdump-tools be enabled by default? |
| |
| <Yes> <No> |
| |
|---------------------------------------------------------------------------|
If you ever need to manually enable the functionality, you can use the dpkg-reconfigure kdump-tools command and answer Yes to the question. You can also edit /etc/default/kdump-tools by including the following line:
USE_KDUMP=1
If a reboot has not been done since installation of the linux-crashdump package, a reboot will be required in order to activate the crashkernel= boot parameter. Upon reboot, kdump-tools will be enabled and active.
If you enable kdump-tools after a reboot, you will only need to issue the kdump-config load command to activate the kdump mechanism.