makefs: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/makefs - from package: makefs

You may install the required package with command apt-get install {package}
Error in other languages:
makefs: bevel nie gevind nie
makefs: comandă negăsită
makefs: comando não encontrado
makefs: commande introuvable
makefs: command not found
makefs: käsku ei ole
makefs: không tìm thấy lệnh
makefs: komanda nerasta
makefs: Kommando nicht gefunden.
makefs: kommandot finns inte
makefs: komut yok
makefs: nie znaleziono polecenia
makefs: níor aimsíodh an t-ordú
makefs: no se encontró la orden
makefs: no s'ha trobat l'ordre
makefs: opdracht niet gevonden
makefs: parancs nem található
makefs: perintah tidak ditemukan
makefs: príkaz nenájdený
makefs: příkaz nenalezen
makefs: команда не найдена
makefs: командата не е открита
makefs: 命令找不到
makefs: コマンドが見つかりません