On Mon, Oct 24, 2022 at 11:39 PM ToddAndMargo via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > Is there a way to tape a native Windows hard > drive and port it to qemu-kvm? I'm sure there are several. My basic process when I have done this in the past.... - create a copy of the physical disk on an external drive - you could boot off of a live CD and use dd to copy the disk (fast, uses more space), or use something like clonezilla (uses less space). If you want to use the disk as-is, there is probably a way to do so, but I have never done so with qemu-kvm - note that it is probably a *very* bad idea to attempt to use the disk as a native windows boot disk *and* as a VM boot disk (i.e. dual-boot physical or VM); at the very least I would expect windows would keep deactivating the license. - create a VM with an appropriately sized hard drive - use BIOS or UEFI to match the physical machine. Add TPM if needed. - boot the VM off an ISO matching the same boot image you used to create the copy of the disk, and use the corresponding process to restore the copy to the virtual disk (i.e. dd, clonezilla, etc.) Now the "fun" starts.... - You will probably have to re-apply your Windows license, and depending on the specifics of the license it may not let you do so. - You will want to install the virtio drivers (separate ISO image) and convert the virtual disk and NIC to virtio Also, before even starting, you should confirm the target machine has hardware support for virtualization, and that it is enabled. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue