Qemu Mount Virtual Images
Table of Contents
Mounting the image
apt-get install -y libguestfs-tools
# Mounting
guestmount -a windows.qcow2 /mnt/
# Mounting read-only mode
guestmount -a windows.qcow2 /mnt/ --ro
# Unmount
guestunmount /mnt
apt-get install -y libguestfs-tools
# Mounting
guestmount -a windows.qcow2 /mnt/
# Mounting read-only mode
guestmount -a windows.qcow2 /mnt/ --ro
# Unmount
guestunmount /mnt