A disk image is basically a file that’s an exact copy of a whole storage device — like a hard drive, USB stick, CD, or DVD. It captures everything:
Common formats - .iso, .img, .dmg (on Mac), and .vmdk
QEMU (Quick EMUlator) is a free and open-source emulator and virtualization tool that allows you to run operating systems and programs made for one machine architecture on different hardware. For example, you can run ARM software on x86 computers or vice versa.
command to create image -
qemu-img create -f qcow2 mydisk.qcow2 20G
It doesn’t actually fill up 20 GB (or whatever size you ask for) immediately.
mydisk.qcow2.