Qcow2-mount

From Karmaking
Revision as of 20:45, 4 April 2017 by 91.65.16.251 (talk)
(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
modprobe -r nbd


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