Re: Native Windows to qemu-kvm?

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

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux