grub-fstest: 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/grub-fstest - from package: grub-common

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