virtio with Windows 8.
Hi all,
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?
I appreciate it very much!
yaodong
This will help you:
http://www.linux-kvm.org/page/Boot_from_virtio_block_device
xuanmao_001
From: Yaodong Yang
Date: 2013-09-09 13:02
To: [email protected]; [email protected]
Subject: [Qemu-discuss] virtio with Windows 8. Hi all,
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?
I appreciate it very much!
yaodong
Quoted 10 lines · Yaodong Yang
1. I create a raw image named as win8.img, using the following command:
/usr/local/kvm/bin/qemu-imgcreate -f raw win8.img 20G2. 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