On Wed, Aug 05, 2015 at 05:29:57PM +0200, Jon Ingason wrote:
I don't know if this is possible, but if it is than I would like to know how to do that.
Take a look at http://libguestfs.org/ and the "guestfish" tool for poking inside VM images. If you need to actually mount it, "guestmount".
mkdir ~/guestmount guestmount -a guest.img -i --ro ~/guestmount
should do it. (Remove --ro for read-write access, of course.)