Prepare
- create a virtual machine in PVE with id 101 and network E1000
- upload the img file to the PVE system, e.g. /root/
qemu-img convert -f raw -O qcow2 synoboot.img synoboot.qcow2
- import the initial diso to the disk
qm importdisk 101 synoboot.qcow2 local-lvm
-
add the inital diso disk to the sata array, change the device lable from SCSI to SATA
- search the dev-id of the disk that will be passed-through to the vm, e.g. get the id:
ata-ST3500418AS_9VMB2L6M
ls -l /dev/disk/by-id/
- set the disk pass-through to the vm.
qm set dsm --sata2 /dev/disk/by-id/ata-ST4000VX007-2DT166_ZGY7CTQ9
- set the boot disk of the vm
shuddown VM
if the VM cannot be closed, search the PID of the machine:
ps aux | grep "/usr/bin/kvm -id 101"
Kill it with:
kill -9 PID
install CUDA 10.1 update 2
install headers
sudo apt install pve-headers
sudo echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf
sudo apt -t buster-backports install nvidia-cuda-dev nvidia-cuda-toolkit
reboot