I am new to KVM. I have two SSDs on my machine. One with Windows 7, the other with CentOS 7.
What I need to do is to access the Win7 installation from KVM on CentOS. I know this is possible as I have seen people doing it, but I can’t seem to find a step-by-step guide that explains how to do it.
How exactly would I do that? I can’t see an option for it when I am creating the VM. The options I get are Local Install, Network Install, Network Boot and Import Existing Image.
I don’t want to make an image of the Windows installation; I want to use it live from the SSD.
If I go with the Local Install option and get to the point where I select a storage, it expects a *.qcow2, a *.img or a *.qed file, not the actual SSD.
I see an option to create a storage pool from a Pre-Formatted Block Device. Would that be how I would do it? Should I create a pool from the Windows Boot partition?
If that is it, how then I would get the VM to boot from it?
Assuming youre using virt-manager, the way it should work is that you dont browse files, you just enter /dev/sda directly into the box when you went with import existing image. Precisely what I’m doing with my physical installation.
I think I know what might be the problem, but I need to make sure. When I was reading on how to do this, it looked like that it is not necessary to install the VirtIO drivers in Windows, but I might have misunderstood.
Can I boot an existing Windows installation without installing the VirtIO drivers on it first?
That did not work for me. Though in the case of an UEFI Windows 10 its fairly obvious if your disk controller is at fault. SATA or IDE usually work fine, have had issues with SCSI and VirtIO.
The concept works. I have tested it with another CentOS installation I have. I won’t be able to test it with Windows for now since I have all the regular drivers installed on my machine already and I don’t want to go through the hassle of uninstalling them, which seems to be the only way I can install the VirtIO drivers.
I might test later with another vanilla Windows installation.