and create /usr/local/sbin/mkext2fs as follows:
==============================================================
#!/bin/bash
# similar to mkcramfs (for use with debian mkinitrd)
# mkext2fs dirname outfile
#
# no options are parsed
#
# Written by: Fabian Franz <mkext2fs@fabian-franz.de>;
# GPL v.2 - See: `locate gpl.txt`
if [ $# -lt 2 ]
then
echo "Usage: $(basename $0) dirname outfile"
exit 1
fi