cryptdisks_start command not found

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

Introduction

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

cryptdisks_start: command not found

or when using sudo you get the following error message

sudo: cryptdisks_start: command not found

Solutions to cryptdisks_start: command not found

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

In Ubuntu cryptdisks_start is provided by cryptsetup package.

cryptsetup is:

Cryptsetup provides an interface for configuring encryption on block devices (such as /home or swap partitions), using the Linux kernel device mapper target dm-crypt. It features integrated Linux Unified Key Setup (LUKS) support.

Cryptsetup is backwards compatible with the on-disk format of cryptoloop, but also supports more secure formats. This package includes support for automatically configuring encrypted devices at boot time via the config file /etc/crypttab. Additional features are cryptoroot support through initramfs-tools and several supported ways to read a passphrase or key.

This package provides the cryptdisks_start and _stop wrappers, as well as luksformat.

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

sudo apt-get -y install cryptsetup

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

You can also use apt command to install cryptsetup.

sudo apt -y install cryptsetup

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

sudo aptitude install cryptsetup

Summary

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