Use "/mnt/image" instead of "/mnt" to mount
In the image guide, it mkdir of /mnt/image without any use of it. Mount the device to it. Change-Id: I1f8f33acfb850d2e9baf412ce6453521f0783f5a
This commit is contained in:
parent
f9dd03873e
commit
4a139d0714
@ -330,13 +330,14 @@ To mount the second partition, as root:
|
||||
.. code-block:: console
|
||||
|
||||
# mkdir /mnt/image
|
||||
# mount /dev/mapper/loop0p2 /mnt
|
||||
# mount /dev/mapper/loop0p2 /mnt/image
|
||||
|
||||
Once you are done, to clean up:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# umount /mnt
|
||||
# umount /mnt/image
|
||||
# rmdir /mnt/image
|
||||
# kpartx -d /dev/loop0
|
||||
# losetup -d /dev/loop0
|
||||
|
||||
@ -418,13 +419,14 @@ they can be mounted directly:
|
||||
.. code-block:: console
|
||||
|
||||
# mkdir /mnt/image
|
||||
# mount /dev/nbd3p2 /mnt
|
||||
# mount /dev/nbd3p2 /mnt/image
|
||||
|
||||
When you are done, clean up:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# umount /mnt
|
||||
# umount /mnt/image
|
||||
# rmdir /mnt/image
|
||||
# qemu-nbd -d /dev/nbd0
|
||||
|
||||
Mount a qcow2 image (with LVM)
|
||||
|
Loading…
Reference in New Issue
Block a user