mkatfs: 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/bin/mkatfs - from package: atfs

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