[CentOS] And now for something completely different. Win7 on KVM
James B. Byrne
byrnejb at harte-lyne.ca
Mon Oct 27 13:08:03 UTC 2014
On Mon, October 27, 2014 03:57, Patrick Bervoets wrote:
>
> Op 23-10-14 om 18:00 schreef James B. Byrne:
>> At the moment none I guess. The message is that the client cannot find a
>> driver. I have virtio-win-0.1-74.iso and virtio-win-0.1-81.iso on the
>> hypervisor host. How do I get the driver from there into the guest? Does
>> the
>> client have access to the hypervisor's file-systems? Do I mount the ISO as
>> a
>> cd-rom in the guest? How is that done? In virt-manager? Is there a
>> document
>> somewhere that I can get an idea on how this is supposed to work?
>>
>
> James,
>
> I don't know if help is still needed.
Trust me. I am always in need of help.
>
> You can mount the iso via virt-manager if you have (or create) a
> virt-storage-pool.
>
> If you can reboot the client you could edit
> /etc/libvirt/qemu/virtclientname.xml and add
> <disk type='file' device='cdrom'>
> <driver name='qemu' type='raw'/>
> <source file='/opt/isos/virtio-win-0.1-81.iso'/>
> <target dev='hdc' bus='ide'/>
> <readonly/>
> <address type='drive' controller='0' bus='1' target='0' unit='0'/>
> to <devices>
>
> (if your client already has more than 2 drives attached, change target dev hdc
> to hdd or ...)
>
> You can switch your storages to virtio too, I did it in the past but fail to
> find my notes.
They are already virtio.
>
> I think that the steps on this page are correct:
> http://setdosa.blogspot.be/2013/09/moving-your-windows-guest-from-ide-to.html
>
> And, of course, work on a snapshot or at least have a copy of your client.
>
> If you need help to change the driver in Windows I suggest we take this
> off-list since some are very allergic to Microsoft.
>
At the moment all I am looking for is how to use the CentOS tools to mount a
guest system. So I think that probably falls in the scope of this list. If
(when) I get into trouble on the Win side of things then I will take you up on
your kind offer.
Per your suggestion I used virt-manager to open the guest and added a hardware
device. I selected the option "Select managed or other existing storage",
browsed for the virtio-win.iso and set the Device type to IDE CDROM with
storage type 'raw'. I started the guest and the new CDROM shows in the
hardware list.
I will see how it goes from there.
Thanks again,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the CentOS
mailing list