diff --git a/configure b/configure
index 2211a8456268c45c4b86e68c3ca42f9a0e7d148e..9a1bb88ab7868af548438d78dc8a33287820b1f1 100755
--- a/configure
+++ b/configure
@@ -95,6 +95,14 @@ else
     CROSS_COMPILE_FLAG=
 fi
 
+event "checking mkfs tool"
+if ! which mkfs.fat > /dev/null 2>&1; then
+    echo "no"
+    exit 1
+else
+    echo `which mkfs.fat`
+fi
+
 cp Makefile.src Makefile
 sed -i '' -e "s/##PLACEHOLDER_1##/$QEMU/" Makefile > /dev/null 2>&1
 sed -i '' -e "s/##PLACEHOLDER_2##/$GDB/" Makefile > /dev/null 2>&1