disktype: 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:

/usr/bin/disktype - from package: disktype

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

On Debian possible default full paths are:

/usr/bin/disktype - from package: disktype

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