rgnet-wiki/pages/MountAQcow2.md
2020-07-04 14:38:53 -07:00

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
```