Make mke2fs work inside an image file for a specific partition