How to mount qcow2 disk image on Linux

When you run a guest virtual machine (VM) on a hypervisor, you create one or more disk images dedicated to the VM. As a “virtual” disk volume, a disk image represents the content and structure of a storage device (e.g., a hard disk drive or flash drive) attached to the VM. If you want to modify files in a VM’s disk image without powering on the VM, you could “mount” the disk image. You then would be able to modify the content of the disk image before unmounting it.