Qcow2-mount

From Karmaking
Revision as of 20:44, 4 April 2017 by 91.65.16.251 (talk) (Created page with "<tt>modprobe nbd max_part=8<br> qemu-nbd --connect=/dev/nbd0 /path/to/qcow2/image<br> mount /dev/nbd0p1 /mnt<br> <br> umount /mnt<br> qemu-nbd --disconnect /dev/nbd0<br> </tt>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

modprobe nbd max_part=8
qemu-nbd --connect=/dev/nbd0 /path/to/qcow2/image
mount /dev/nbd0p1 /mnt

umount /mnt
qemu-nbd --disconnect /dev/nbd0


http://ask.xmodulo.com/mount-qcow2-disk-image-linux.html