
Im not going into too much details of the script, the key thing is the last line. You should add the following content to the script ( startup_script). If you don't have the "User scripts" plugin install, you need to install it at this stage and create a script which runs at the startup of the array. On the next reboot it will load the libraries and install the swTPM binaries. txz files) from here () and you should put into your /boot/extra folder of your Unraid. So I needed to compile the binaries and the required libraries for Unraid. Though the qemu binaries supplied with Unraid supports TPM emulator, the swTPM binaries are missing. So what do you need to run a Virtual Machine with swTPM in Unraid? On virtual machines you have two options, you can passthrough the TPM module of the host or if you are in the situation like me you need to use a TPM emulator (swTPM implemented by Stefan Berger, THX!!!) as I don't have a TPM module in my host. Windows 11 said to be also requiring a TPM module in the future.

Normally Bitlocker requires a TPM (Trusted Platform Module) chip, this chip generates and stores your encryption keys. The other day I had to use Bitlocker to comply with enterprise requirements on an Azure AD joined computer.
#Unraid setup media shares how to
It has great tutorials on how to passthrough GPU and USB devices, check out Spaceinvader One's YouTube channel for more information ().

Lately I switched over to Unraid which has the primary focus on storing media but has some great virtualization capabilities based on KVM. Simply because it is much easier to maintain a thin abstraction layer on the bare metal and run the "fat" OS in a Virtual Machine. So couple of years ago I decided to virtualize my desktop environment. NOTE: The latest UnRaid version should support TPM out of the box, you may rather have a look at that one.
