kpartx is a very usefull tool if you work with raw images on virtual machines. Sometimes, when the machine does not boot anymore due bootloader problems, you want to just mount the root partition on your host machine. kpartx is what you want.
kpartx -a /dev/mapper/someimage
and you get blockdevices to mount.