Install Windows 2016 Server on Proxmox VE (Video tutorial)

Discussion in 'Proxmox VE: Installation and configuration' started by tom, Dec 23, 2016.

  1. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,338
    Likes Received:
    375
    We just created a short tutorial for installing a current windows. This includes VirtIO drivers, Qemu-disk agent and Balloon Service installation inside Windows. We used windows 2016, but its also the same for Windows 10.

    We used the VirtIO drivers from the Fedora project.

    Install Windows 2016 Server on Proxmox VE
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Stefan Pettersson

    Joined:
    Feb 7, 2015
    Messages:
    34
    Likes Received:
    0
    When installing the Balloon service I get "Failed. Error 1063 The service process could not connect to the service controller"

    Any ideas?
     
  3. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,338
    Likes Received:
    375
    do you see the ballooning device in the device manager?
    do you install via CMD as shown in the video as administrator?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Stefan Pettersson

    Joined:
    Feb 7, 2015
    Messages:
    34
    Likes Received:
    0
    Yes, i'm installing via CMD, starting it as Administrator.

    Dont see ballooning service, only Qemu Guest Agent and Qemu Guest Agent VSS Provider.

    Balloon driver is installed and have no errors in Device manager, except for " HID Button over Interrupt Driver"

    *EDIT*

    The install is one month old so have used "virto" as driver for the disk. Also changed "Installed operation System" from w2k12 to w2k16
    RAM is set to static and I have ticked the litl box beloww "balloon"
     
    #4 Stefan Pettersson, Dec 29, 2016
    Last edited: Dec 29, 2016
  5. talos

    talos Member

    Joined:
    Aug 9, 2015
    Messages:
    39
    Likes Received:
    3
    I do it a bit differently, i use just one virtual cd drive and switch the images for installing the drivers. After you are done installing drivers, you load the windows image again and press refresh on the partition list (or you get some error about windows cant be installed...)

    On driver step, you can repeat installing all the drivers you need, like scsi, vioserial (agent), balloon, netkvm, and if you configured it, spice graphics drivers, i think it easier to do all needed drivers in the installation step.
     
    Deleted member 43499 likes this.
  6. MichaelTrip

    MichaelTrip New Member

    Joined:
    Jan 5, 2017
    Messages:
    1
    Likes Received:
    0
    Thanks for the amazing tutorial. Everything works here except shutting down. I also have the "HID Button over Interrupt Driver". No driver to be found. Could this be the issue why my vm won't shut down?
     
  7. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,338
    Likes Received:
    375
    The device "HID Button over Interrupt Driver" already got drivers, but they do not work correctly, ignore it or better, contact the maintainer of this driver (Microsoft).

    Shutting down with the qemu-agent is not affected by this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Stefan Pettersson

    Joined:
    Feb 7, 2015
    Messages:
    34
    Likes Received:
    0
    Problem solved, I was logged in as my user (with local admin rights) and it dident work. The server is a domain controller. I then logged in as local administrator and it worked?? Have no ide why.
     
  9. Terrum

    Terrum New Member

    Joined:
    Mar 7, 2014
    Messages:
    23
    Likes Received:
    1
    Just out of curiosity, what exactly is the benefit of installing 'VirtIO drivers, Qemu-disk agent and Balloon Service' on Windows VMs with Proxmox? I might do this with my VMs if it actually helps performance. Currently I just use raw disks and writeback cache to assist with performance.
     
    Deleted member 43499 likes this.
  10. MasterTH

    MasterTH Member

    Joined:
    Jun 12, 2009
    Messages:
    184
    Likes Received:
    3
    virtio delivers the best performance on io what you could expect out of your hardware. Virtio creates multiple IO-Threads not just a single one like IDE.
     
  11. talos

    talos Member

    Joined:
    Aug 9, 2015
    Messages:
    39
    Likes Received:
    3
    VirtIO are paravirtual drivers and deliver better perfomance than hardware emulating drivers.

    Qemu Agents helps communication between Hypervisor and the Virtual Machine for example shutdown event.

    Balloon Service is explained here: http://www.linux-kvm.org/page/Projects/auto-ballooning
     
  12. GadgetPig

    GadgetPig Member

    Joined:
    Apr 26, 2016
    Messages:
    138
    Likes Received:
    18
    @Terrum. Make sure you do full proxmox backup of your windows VM, before updating to virtio drivers. And always use "stable" instead of "latest" virtio drivers (I've had cases where "latest" virtio builds stop windows from booting properly. YMMV of course.)

    Search for the article in this forum converting IDE to virtio, It involves adding a 2nd hard drive 1gb size as virtio, which you can remove later after virtio drivers have been installed. And notate your current MAC address/static ip setup assigned to your VM nic, before changing it to virtio. BTW this is a great time to review your data backup practices, and make sure important data is backed in multiple locations (321 backup).

    Good luck!
     
  13. TwiX

    TwiX Member
    Proxmox Subscriber

    Joined:
    Feb 3, 2015
    Messages:
    143
    Likes Received:
    1
    Hi all,

    Seems that the qemu-guest-agent (64bits) is not working with french versions of win2k8, 2012 r2 and 2016. I've tested several versions of the qemu-ga without success.
    No problem with the 32 bit version of qemu-ga but it doesn't install the qemu-vss service.
    Do you know where to report the issue ?
     
  14. GadgetPig

    GadgetPig Member

    Joined:
    Apr 26, 2016
    Messages:
    138
    Likes Received:
    18
    Hi Twix, there's a bugs section on the same Fedora VirtIO download site with email links to KVM devs, and also Bugzilla. Sorry can't post links here, as I'm considered a new user (forum spam control)
     
  15. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    4,317
    Likes Received:
    276
    Did you activate the qemu Guest agent in the VM options and install the qemu-serial device before you tested it?
    Because here is everything running on 2016 and 2012R2
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. TwiX

    TwiX Member
    Proxmox Subscriber

    Joined:
    Feb 3, 2015
    Messages:
    143
    Likes Received:
    1
    Yes of course, but I guess you used the En or German version of Windows.
    Try with a French version you will see ;)
     
  17. kevin00xxl

    kevin00xxl New Member

    Joined:
    Apr 22, 2017
    Messages:
    3
    Likes Received:
    0
    Huge thanks for the how to video, only thing i am stuck with is the poor graphical acceleration in both Server 2016 and Windows 10 1703. Browsing the web is laggy and feels slow. Any ideas on how to fix this?
     
  18. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    13,338
    Likes Received:
    375
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    VDNKH and Stefan Pettersson like this.
  19. eddie

    eddie New Member

    Joined:
    Jun 21, 2017
    Messages:
    11
    Likes Received:
    0
    After install my windows server 2016 only usage 2GB ram but I allocated it 12G.
    Does any know what happen? any idea?

    Thanks
     
  20. frantek

    frantek Member

    Joined:
    May 30, 2009
    Messages:
    152
    Likes Received:
    2
    I've tried today to install Window Server 2016 on the new PVE 5 (fresh install) and got stuck with disk drivers. I've tried virtio and scsi for the disk and the drivers version 0.1.126 und 0.1.139 (/vioscsi/2k16/amd64). Window tells me that there are no drivers found ...

    How to get this rolling ?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice