1. DIY HOME SERVER - Windows 10 - Prepare the host
Before you can start creating a Windows 10 virtual machine and passthrough a graphics card, you have to make sure the host is configured properly. This is a 2 step process :
- The first requirement is a properly configured home server BIOS. Consult the BIOS Configuration section in this previous post and adjust your own BIOS accordingly.
- The second requirement is to configure Proxmox. Follow the Proxmox Wiki on PCI Pass-through to configure your Proxmox host OS.
2. DIY HOME SERVER - Windows 10 - Prepare the VM
To create a Windows 10 VM, we need two ISO images :
- Microsoft Windows 10 Professional
Download the Microsoft Media Creation Tool and create an ISO image for installing Windows 10. Upload the created ISO image to your Proxmox local ISO Images folder.
- Microsoft VirtIO Drivers
Download the latest stable Microsoft VirtIO Drivers ISO file and upload it to your Proxmox local ISO Images folder.
Be sure to use Microsoft Windows 10 Professional. After passing through the GPU, you will no longer be able to use your Proxmox console to access the VM. Instead you’ll have to use Remote Desktop to connect to the VM. Remote Desktop is only avalable in the Professional version of Windows 10.
Do not add your GPU yet!
We will add it later.
3. DIY HOME SERVER - Windows 10 - Installation
4. DIY HOME SERVER - Windows 10 - Configuration
Using the Windows Search Bar, search for Remote desktop settings and enable the Remote Desktop service.
Without enabling the remote desktop service, you’ll not be able to access the Windows 10 Pro guest OS once we set our NVIDIA GPU as primary GPU. So be sure to activate it and test it before continuing!
To make the remote access easier the next time you start the VM, you might want to assign your primary NIC a fixed IP address.
Then go to All settings → Update and Security → Windows Update and check for updates. Reboot the system when required. Repeat this until all updates are installed.
When done, shut down the Windows 10 VM.
5. DIY HOME SERVER - Windows 10 - Add GPU
Be aware your GPU can only be used in one active VM at a time. So shutdown all other VMs using the GPU before starting another one.
If your VM will not start properly, start the VM from the PVE → Shell by using the command qqm start <vim-number>
and check the returned error message.
6. DIY HOME SERVER - Windows 10 - Enable GPU
Be aware your GPU can only be used in one active VM at a time. So shutdown all other VMs using the GPU before starting another one.
If your VM will not start properly, start the VM from the PVE → Shell by using the command qqm start <vim-number>
and check the returned error message.