Transform VHD to QCOW2

Tags:

Me again..

So there is this tool: Disk2Vhd.

It allows to make a virtual hard disk (vhd) from your current disk. You can select the partition you want and write them onto the disk. Why would you want that? We need it to use Windows software, which doesn’t work with wine or for example, requires certificates, which can not be obtian for a linux machine. (Don’t click any of the checkboxes in the GUI.) If you select the partition to export, put it onto a USB drive or on a partition, which can also be mounted in Linux.

Now boot into Linux, mount the drive and run this command.

qemu-img convert -O qcow2 /data/source.vhd /data/output.qcow2

Next, create a Windows VM and use this as

Written on May 5, 2022 at 18:14

Last but not least

If the post is updated, the creation date, will be pushed. So it might happend, you see an existing page back on frontpage. I think, this approach is valid, so wrong information or gained information is covered. But if I am going to write a new part of topic, I might include an updated link to the new post.

Home