Deploying a Windows VPS on Proxmox VE

Deploying a (modern) Linux/BSD VPS on a Proxmox VE is easy and requires no extra steps, since they have built in VirtIO support since kernel 2.6.25. For Windows its a bit more tricky, we need to use additional drivers, that can be obtained free of charge and in a neat iso package from here. Upload both your Windows installer and VirtIO driver isos to the Proxmox host and let’s get started!

Go to your Proxmox hosts web address, accept the self signed certificate:

01

Log in with:

02

Create a new VPS:

04

Give it a name:

05

Set the OS to the appropriate one. In this case I will be installing a Server 2012:

06

Set the installation source iso:

07

Change the Hard Disks’s Bus to VIRTIO and the Cache to Write back, set the Disk size as desired:

08

Set the number of Cores as desired, I’ll be going with 2:

09

Set the memory to Automatically allocate, and set the min / max values:

10

Change the Network Model to VirtIO (paravirtualized):

11

Confirm your settings by clicking Finish:

12

One more thing before we start it. Expand the Proxmox host and find the VPS that was just created and select it:

13

Go to the Hardware tab:

14

Add a new CD/DVD Drive:

15

Leave the bus at IDE and select the VirtIO iso that we downloaded from fedoraproject.org:

16

It should look like this:

17

Let’s start it up:

18

Change as desired:

19

Hit Install now:

20

Select Custom: Install Windows only (advanced):

21

Note that our hard drive was not recognized. Click on Load driver:

22

Click on Browse:

23

The VirtIO iso should be recognized in the Browse for Folder screen:

24

Expand it, expand the Balloon folder than expand the appropriate windows version, in my case it’s 2k12R2, expand that further and select the appropriate architecture, since 2012 runs only on x64, the only option is amd64 here, select it and click OK:

25

The installer will recognize the driver as VirtIO Balloon Driver, click Next to install it:

26

Wait for it to finish:

27

Than repeat the above steps, but instead of Balloon now select NetKVM:

28

That will install our network controller, click Next to continue:

29

Finally the 3th and last driver needs to be added, viostor:

30

That is our VirtIO SCSI controller, click Next:

31

After the last driver is loaded, the installer should recognize the hard drive:

32

Partition it and install as you normally would:

33

Finally after everything is done:

34

In the Device Manager you should be able to see the various VirtIO drivers:

35

Leave a Reply

Your email address will not be published. Required fields are marked *