from wiki
This commit is contained in:
parent
341ad2fed2
commit
5e9ef5d63d
1 changed files with 21 additions and 0 deletions
21
pages/MountAQcow2.md
Normal file
21
pages/MountAQcow2.md
Normal 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
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue