diff --git a/utilite.sh b/utilite.sh
index a648382..aec95f3 100755
--- a/utilite.sh
+++ b/utilite.sh
@@ -147,6 +147,9 @@ device="/dev/mapper/${device}"
 bootp=${device}p1
 rootp=${device}p2
 
+umount $bootp
+umount $rootp
+
 # Create file systems
 mkfs.vfat $bootp
 mkfs.ext4 $rootp
