Windows Server Installation Checklist

Average: 2.6 (5 votes)
Your rating: None


Hostname buildserver
Domain name
  • Create LVM disks (you can extend any partition in seconds anytime)
# lvcreate -L 20G vms -n buildserver.project-disk-ide0
# lvcreate -L 20G vms -n buildserver.project-disk-ide1
  • Create libvirt config in
<domain type='kvm'>
  <description>buildserver for project</description>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
    <type arch='x86_64' machine='pc-0.12'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='yes'/>
  <clock offset='localtime'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/dev/vms/buildserver.project-disk-ide0'/>
      <target dev='vda' bus='virtio'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source file='/dev/vms/buildserver.project-disk-ide1'/>
      <target dev='vdb' bus='virtio'/>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/storage1/install/windows/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso'/>
      <target dev='hdc' bus='ide'/>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/storage1/install/virtio/virtio-win-0.1-30.iso'/>
      <target dev='hdd' bus='ide'/>
    <interface type='bridge'>
      <mac address='52:53:00:ae:00:55'/>
      <source bridge='br0'/>
      <model type='e1000'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target type='serial' port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='*' keymap='en-us'>
      <listen type='address' address='*'/>
      <model type='cirrus' vram='9216' heads='1'/>
    <memballoon model='virtio'>
  • Define libvirt domain and start it
# virsh define /etc/libvirt/qemu/
# virsh start
# virsh vncdisplay
  • Connect to vnc
  • Press
    to select boot device, then press
    to select Windows installation, then press any key to boot from ISO
  • Load disk drivers from second CD-ROM (WIN7\AMD64\VIOSTOR.INF)
  • Install Windows
  • Setup Windows Explorer
    • Show file extensions
    • Show hidden & system files
    • Show full path
  • Download browser (this is probably both first and last time you need IE)
  • Create partition on 2nd disk
  • Install server role IIS + features (don't forget IIS6.0 Management Console)
  • Install .NET Framework 4.0 (download)
  • Install .NET into IIS
> c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
  • Shutdown VM
# virsh shutdown
  • Change CD-ROM files to point to MSSQL and Visual Studio installations
<disk type='file' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source file='/mnt/storage1/install/sql_server/SQLFULL_ENU.iso'/>
  <target dev='hdc' bus='ide'/>
<disk type='file' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source file='/mnt/storage1/install/vs/VS2012_PRO_enu.iso'/>
  <target dev='hdd' bus='ide'/>
  • Install MSSQL Server
Data dir d:\db\data
Backup dir d:\db\backup
  • Install Visual Studio
Keywords: KVM, Libvirt, Windows