2015-10-25

‎New Install of Windows: fixed whitespace

← Older revision

Revision as of 20:54, 25 October 2015

(3 intermediate revisions by the same user not shown)

Line 804:

Line 804:

===== New Install of Windows =====

===== New Install of Windows =====



Windows does not come with the virtio drivers.

Therefore, you will need to load them during installation.

There are basically two ways to do this: via Floppy Disk or via ISO files
(Windows Vista
/
2008 and later only)
.

+

Windows does not come with the virtio drivers. Therefore, you will need to load them during installation. There are basically two ways to do this: via Floppy Disk or via ISO files
. Both images can be downloaded from the [https://fedoraproject.org/wiki
/
Windows_Virtio_Drivers Fedora repository]
.



The floppy disk option is difficult because you will need to press F6 (Shift-F6 on newer Windows) at the very beginning of powering on the QEMU.

This is difficult since you need time to connect your VNC console window.

You can attempt to add a delay to the boot sequence.

See {{ic|man qemu-system}} for more details about applying a delay at boot.

+

The floppy disk option is difficult because you will need to press F6 (Shift-F6 on newer Windows) at the very beginning of powering on the QEMU. This is difficult since you need time to connect your VNC console window. You can attempt to add a delay to the boot sequence. See {{ic|man qemu-system}} for more details about applying a delay at boot.



The ISO option to load drivers is the preferred way
;
but
,
it is
only
available on Windows Vista and Windows Server 2008 and later.
You can download the virtio disk driver from the [https://fedoraproject.org/wiki/Windows_Virtio_Drivers Fedora repository].

+

The ISO option to load drivers is the preferred way
,
but it is available
only
on Windows Vista and Windows Server 2008 and later. The procedure is to load
the image with virtio drivers in an additional
cdrom
device
along with
the
primary disk device
and Windows installer:



+



The procedure is to load
two
cdrom
devices
along with
your
primary disk device
.

+

$ qemu-system-i386 ... \

$ qemu-system-i386 ... \



-drive file=/
vms
/
my-server-vda
.img,index=0,media=disk,if=virtio \

+

-drive file=
''
/
path
/
to/primary/disk
.img
''
,index=0,media=disk,if=virtio \



-drive file=
en_windows_server_2012_r2_with_update_x64_dvd_6052708
.iso,index=2,media=cdrom \

+

-drive file=
''/path/to/installer
.iso
''
,index=2,media=cdrom \



-drive file=virtio
-win-0.1.102
.iso,index=3,media=cdrom \

+

-drive file=
''/path/to/
virtio.iso
''
,index=3,media=cdrom \



...

+

...



+



This command will load two CDROMs to boot from.

+



During the installation, the Windows installer will ask you for your Product key and perform some additional checks.

When it gets to the "Where do you want to install Windows?" screen, it will give a warning that no disks are found.

Follow the example instructions below (based on Windows Server 2012 R2 with Update).

+

During the installation, the Windows installer will ask you for your Product key and perform some additional checks. When it gets to the "Where do you want to install Windows?" screen, it will give a warning that no disks are found. Follow the example instructions below (based on Windows Server 2012 R2 with Update).



* Select the option {{ic|Load Drivers}}.

+

* Select the option {{ic|Load Drivers}}.

* Uncheck the box for "Hide drivers that aren't compatible with this computer's hardware".

* Uncheck the box for "Hide drivers that aren't compatible with this computer's hardware".

* Click the Browse button and open the CDROM for the virtio iso, usually named "virtio-win-XX".

* Click the Browse button and open the CDROM for the virtio iso, usually named "virtio-win-XX".



* Now browse to {{ic|E:\viostor\[your-os]\amd64}}, select it, and press OK.

+

* Now browse to {{ic|E:\viostor\[your-os]\amd64}}, select it, and press OK.

* Click Next

* Click Next

Show more