[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

using a Windows 7 disk image with KVM?

Is this even possible? I can create a KVM guest from a Windows 7 install DVD iso and it works fine. However I have a Windows 7 disk image that I want to virtualize that I can't get to go beyond "Booting from Hard Disk..."

Windows 7 running in KVM also doesn't seem to like being repaired. If I connect to the DVD install iso, it complains about the disk being the wrong version of Windows. I believe this is because it wants a UEFI-booted DVD to repair a Windows 7 disk installation.

I'm running this on Debian/Stretch AMD64.

I've seen posts from people doing this with Virtual Box but I'd rather stick with KVM if possible.

There don't seem to be a lot of online advice about doing this with KVM compared to VirtualBox or VMware. The advice on the other systems is also contradictory or old. Sometimes it says to use just the Windows partition while other documents say to use the whole disk (in my case, there is an EFI partition, another partition and then the actual Windows partion). losetup gives me the 3 partitions as block devices, so I could extract just the Windows partition if needed...

Has anyone got this to work?

Reply to: