mkfs.cramfs: 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 CentOS possible default full paths are:

/sbin/mkfs.cramfs - from package: util-linux-ng

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/sbin/mkfs.cramfs - from package: util-linux

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