ddru_findbad command not found

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

Introduction

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

ddru_findbad: command not found

or when using sudo you get the following error message

sudo: ddru_findbad: command not found

Solutions to ddru_findbad: command not found

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

In Ubuntu ddru_findbad is provided by ddrutility package.

ddrutility is:

Meant to be a compliment to gnuddrescue. It is a LINUX based set of utilities to help with data rescue. Find what files are related to the bad sectors using a ddrescue logfile, special NTFS utility to find files related to bad sectors, create a domain logfile to use with ddrescue to only recover the used portion of an NTFS partition, create a domain logfile to use with ddrescue to focus on recovering the MFT of an NTFS partition and perform some advanced disk read functions.

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

sudo apt-get -y install ddrutility

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

You can also use apt command to install ddrutility.

sudo apt -y install ddrutility

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

sudo aptitude install ddrutility

Summary

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