The problem is caused by the command belowmkfs -t vfat /dev/loop0/dev/loop0 is the whole disk, and /dev/loop0p1 is the partition.The command make a file system on the disk, thus overrides the disk’s partition table.I guess that it is the partition on which you want to make a filesystem.The right command ismkfs -t ext2 /dev/loop0p1We prefer ext2,3,4 to fat32 on linux.