chkboot command not found

In this troubleshooting guide we learn how to fix chkboot command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

chkboot: command not found

or when using sudo you get the following error message

sudo: chkboot: command not found

Solutions to chkboot: command not found

How To Fix chkboot: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu chkboot is provided by chkboot package.

chkboot is:

chkboot is a set of scripts that will display a notification (console or graphical) when boot files are tempered with.

This tool is indented to be used on encrypted disks. In order to get the operating system to run, parts of the boot process must remains un-encrypted. chkboot checks that those files have not changed between reboots.

Since the scripts and the data they generate are stored on the encrypted part of the disk, any attempts to modify the boot partition between reboots will be detected.

Please note that this tool is not effective against rootkit that hides every boot files modifications or prevents chkboot from functioning properly.

To fix this problem, we can install more using the command below.

sudo apt-get -y install chkboot

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install chkboot.

sudo apt -y install chkboot

Or if you have aptitude installed you can use the following command.

sudo aptitude install chkboot

Summary

In this tutorial we learn how to fix chkboot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.