mergebad command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mergebad: command not found
or when using sudo you get the following error message
sudo: mergebad: command not found
Solutions to mergebad: command not found
How To Fix mergebad: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mergebad is provided by recoverdm package.
recoverdm is:
recoverdm recover disks with bad sectors. You can recover files as well complete devices. In case it finds sectors which simply cannot be recovered, it writes an empty sector to the output file and continues.
When recovering a CD or a DVD and the program cannot read the sector in “normal mode”, then the program will try to read the sector in “RAW mode” (without error-checking etc.). This toolkit also has a utility called ‘mergebad’ which merges multiple images into one.
This package is useful in forensics investigations.
To fix this problem, we can install more using the command below.
sudo apt-get -y install recoverdm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install recoverdm.
sudo apt -y install recoverdm
Or if you have aptitude installed you can use the following command.
sudo aptitude install recoverdm
Summary
In this tutorial we learn how to fix mergebad command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.