Add support for loop-mount installations to casper