from wiki

This commit is contained in:
Randy Bush 2020-07-04 14:38:53 -07:00
parent 341ad2fed2
commit 5e9ef5d63d

21
pages/MountAQcow2.md Normal file
View file

@ -0,0 +1,21 @@
# Mounting a QCow2 from Ubuntu
First you need to load the nbd module
```
modprobe nbd max_part=8
```
Then mount the puppy
```
qemu-nbd --connect=/dev/nbd0 /var/images/sros-vm.qcow2
mount /dev/nbd0p1 /mnt
```
And when you are through, unmount it
```
umount /mnt
```