Difference between revisions of "Qemu"

From Useful Things
Jump to: navigation, search
(Created page with "== Mount qcow2 image == === To start === <pre> modprobe nbd max_part=63 qemu-nbd -c /dev/nbd0 image.img mount /dev/nbd0p1 /mnt/image </pre> === To finish === <pre> umount /mn...")
 
(No difference)

Latest revision as of 04:15, 21 May 2015

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