[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] virtio with Windows 8.
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] virtio with Windows 8. |
Date: |
Mon, 9 Sep 2013 13:45:08 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Sep 09, 2013 at 12:02:57AM -0500, Yaodong Yang wrote:
> 1. I create a raw image named as win8.img, using the following command:
> /usr/local/kvm/bin/qemu-img create -f raw win8.img 20G
>
> 2. I try to install win8 with the following command, but I failed several
> times.
>
> sudo /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -drive
> file=./win8.img,if=virtio,cache=none -cdrom ./win8.iso -boot d -m 2048.
>
> 3. I try the same command but with if=ide, it works.
>
> Could someone tell me the reason for this failure?
The Windows installer will not detect virtio-blk disks since Windows
does not come with virtio drivers by default.
You must provide the virtio-win drivers ISO during the installation:
https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
Watch for the screen where Windows prompts you for a driver disk and put
in the virtio-win ISO.
Stefan