Windows7Install: Difference between revisions
From KVM
No edit summary |
mNo edit summary |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
Some facts: | Some facts: | ||
* Installing Windows 7 with IDE drivers | * Installing Windows 7 with IDE drivers requires about 12 hours (qemu-kvm 0.12.5) | ||
* Windows 7 can be installed with virtio disk (requires guest drivers during installation) | * Windows 7 can be installed with virtio disk (requires guest drivers during installation) | ||
* Windows 7 64-bit requires signed drivers (available from August 2010 - thanks to RedHat) | * Windows 7 64-bit requires signed drivers (available from August 2010 - thanks to RedHat) | ||
* Installation with virtio drivers works well, but Windows might not reboot at the end (see troubleshooting) | * Installation with virtio drivers works well, but Windows might not reboot at the end (see troubleshooting) | ||
Signed guest drivers are available here: | Signed guest drivers are available here: | ||
* | * https://fedoraproject.org/wiki/Windows_Virtio_Drivers | ||
= Installation steps = | = Installation steps = | ||
Line 16: | Line 17: | ||
** The installation should take 45 to 60 minutes | ** The installation should take 45 to 60 minutes | ||
If you don't want to swap the CD, configure 2 CD- | |||
If you don't want to swap the CD, configure 2 CD-ROM devices. Use the guest drivers disc as the first CD-ROM device, and Windows installation disc as the second device, or else it won't boot. | |||
Once installed, if you did choose virtio for the network card, you will also need to update the driver. | Once installed, if you did choose virtio for the network card, you will also need to update the driver. | ||
Line 23: | Line 25: | ||
== Cannot boot - broken MBR == | == Cannot boot - broken MBR == | ||
Upon reboot, the screen displays: | |||
<div style="border:1px solid gray; background:black;color:white;padding: 10px;width:500px;"> | <div style="border:1px solid gray; background:black;color:white;padding: 10px;width:500px;"> | ||
<pre> | <pre> | ||
Line 33: | Line 35: | ||
The libvirt log | The libvirt log shows | ||
<pre> | <pre> | ||
kvm: unhandled exit 80000021 | kvm: unhandled exit 80000021 | ||
Line 39: | Line 41: | ||
</pre> | </pre> | ||
The solution is to reinstall the MBR. Here is a | The solution is to reinstall the MBR. Here is a tutorial for doing this: http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html |
Latest revision as of 05:05, 10 March 2018
Introduction
Some facts:
- Installing Windows 7 with IDE drivers requires about 12 hours (qemu-kvm 0.12.5)
- Windows 7 can be installed with virtio disk (requires guest drivers during installation)
- Windows 7 64-bit requires signed drivers (available from August 2010 - thanks to RedHat)
- Installation with virtio drivers works well, but Windows might not reboot at the end (see troubleshooting)
Signed guest drivers are available here:
Installation steps
- Download the guest drivers
- Configure the virtual disk as virtio
- Start the installation
- When the installer asks you to select a drive, load the virtio driver (viostor)
- The installation should take 45 to 60 minutes
If you don't want to swap the CD, configure 2 CD-ROM devices. Use the guest drivers disc as the first CD-ROM device, and Windows installation disc as the second device, or else it won't boot.
Once installed, if you did choose virtio for the network card, you will also need to update the driver.
Troubleshooting
Cannot boot - broken MBR
Upon reboot, the screen displays:
Starting SeaBIOS (version 0.5.1-20100825_131917-polaris) Booting from Hard Disk...
The libvirt log shows
kvm: unhandled exit 80000021 kvm_run returned -22
The solution is to reinstall the MBR. Here is a tutorial for doing this: http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html