Qemu

From Useful Things
Jump to: navigation, search

Mount qcow2 image

To start

modprobe nbd max_part=63
qemu-nbd -c /dev/nbd0 image.img
mount /dev/nbd0p1 /mnt/image

To finish

umount /mnt/image
killall qemu-nbd