I have just installed Debian 8.4 (Jessie, MATE desktop). For some reason the following command is not recognized:
mkfs.ext4 -L hdd_misha /dev/sdb1
The error I get:
bash: mkfs.ext4: command not found
I have googled and I actually can't seen to find Debian-specific instructions on how to create an ext4 filesystem. Any help much appreciated!
/sbin
in your path? are you running this as a normal user or as root? unless you've added it yourself (e.g. in~/.bashrc
or/etc/profile
etc), root has/sbin
and/usr/sbin
in $PATH, but normal users don't by default.