If you happen to have a DaDesktop machine which you would like to use a GPU or other pass-through on, you have to first convert it to UEFI boot.
We still recommend to use win10-template-v53 or above, but if you think it is more beneficial for you to do upgrade yourself, here are the following steps:
- Enable defrag service
- Create boot files on C drive
- Set C disk as Active
- Convert the system to UEFI
- Modify kvm config to support UEFI
- Fix DaDesktop BIOS boot option
- Upgrade virtio-win drivers
- Disable defrag service
- Optional: move partition in front of system partition to support automatic disk resizing
1. Enable Defrag service
- Run cmd as Administrator
- Execute:
sc config defragsvc start= demand
2. Make C: disk bootable
-
In command line as admin run:
bcdboot.exe c:\windows /s c:
3. Set C: disk as Active
- Run Disk Management
- Right click on C: partition
- Set Active
4. Convert the system to UEFI
- In command like as admin run:
mbr2gpt.exe /concver /allowFullOS
5. Modify kvm config to support UEFI
- Log in using ssh to ddnode
- Make sure you execute command as root
-
Copy OVMF_VARS.fd and qemu.conf from a template supporting UEFI boot, e.g.:
cp /var/lib/kvm/win10-template-v51/OVMF_VARS.fd /var/lib/kvm/yourimagename/ cp /var/lib/kvm/win10-template-v51/qemu.conf /var/lib/kvm/yourimagename/
6. Fix DaDesktop BIOS boot option
- Stop and start machine using dd4t.dadesktop.com GUI or API
- System will boot into UEFI Shell
- Type: "exit"
- Goto BootManagement TODO: FINISH IT
- F10 to save
- Exit BIOS
7. Upgrade Virt-io drivers
Some templates can have outdated version of VGA driver, this can cause some problems like you cannot change resolution. In order to fix the problem:
- In your Desktop download new version of the drivers: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.240-1/virtio-win-0.1.240.iso
- Install: TODO exact file name
- Reboot
8. Disable DEFRAG Service
- Run cmd as Administrator
- Execute:
sc config defragsvc start= disabled
9. Optional: move partition in front of system partition to support automatic disk resizing
- Boot system in Rescue mode
- Use gparted to move partition in front of system partition
- Reboot
10. Install Idd drivers
- https://github.com/ge9/IddSampleDriver
- Download it from here: https://github.com/ge9/IddSampleDriver/releases
- Extract on c:\ (otherwise it will not work
- Install certificate (as root)
- Install the driver (right clikc on .inf file and Install)