21 lines
273 B
Markdown
21 lines
273 B
Markdown
# 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
|
|
```
|
|
|