alturismo Posted October 22, 2021 Share Posted October 22, 2021 7 hours ago, TCMapes said: Does it matter where i put this in my VM xml? Is there a certain location i should put these? the 1st 2 lines are replacements, loader ... nvram .... the tpm part, shouldnt really matter, just somewhere inside devices part. but still, i d recommend to wait ... 1 Quote Link to comment
RiDDiX Posted October 26, 2021 Share Posted October 26, 2021 (edited) If you want you can already install latest Test Version of unraid: https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg OVMF TMP already there without any nasty patches. 🙂 Edited October 26, 2021 by RiDDiX 1 Quote Link to comment
Skitals Posted October 26, 2021 Share Posted October 26, 2021 58 minutes ago, RiDDiX said: If you want you can already install latest Test Version of unraid: https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg OVMF TMP already there without any nasty patches. 🙂 Nasty patches? It's a few prebuilt binaries and prebuilt ovmf file. If someone can't edit their own xml file I wouldn't suggest they use a test verion of unraid. Quote Link to comment
RiDDiX Posted October 28, 2021 Share Posted October 28, 2021 On 10/26/2021 at 8:08 PM, Skitals said: Nasty patches? It's a few prebuilt binaries and prebuilt ovmf file. If someone can't edit their own xml file I wouldn't suggest they use a test verion of unraid. For me it is a lil bit of nastynes cuz Unraid will when upgraded to stable 6.10 maybe remove the patched / updated files. So why I should do it myself, when already a update will come which add the wanted "features"? I mostly like to use a system like it is (system as is). Just for better error findings and so on. 🙂 I wont say that the "new prebuilt binaries" are bad or something near like this. It is nice that someone found a way to do it for earlier unraid builds but as I said, if some new errors or problems can come through such doings no one can really help if they happen or I will say it will just be harder to find solutions then. Quote Link to comment
workermaster Posted October 28, 2021 Share Posted October 28, 2021 (edited) On 9/18/2021 at 1:28 AM, okkies said: I got TPM and secure boot working trough this guide https://www.linkedin.com/pulse/swtpm-unraid-zoltan-repasi/ Could you please help me with this? I can't find the boot/extra folder on the Unraid USB drive. Where is that folder located? Found another post from you where you showed that you have to create the folder. Anyway, I am now at this part: 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. You should add the following content to the script (startup_script). Im not going into too much details of the script, the key thing is the last line. When you first startup the virtual machine during the runtime it will create a folder under /var/lib/libvirt/swtpm/ something like this /var/lib/libvirt/swtpm/141d5517-bb66-23b3-6373-c4288xxxxxx, you need to make sure that you copy this whole folder into the VM storage area and symlink it back on the next boot as /var/lib/libvirt/swtpm/ is not persistent. I am stuck there. I created the script and ran it manually. I thought that if I started a VM then it would create a folder somewhere. It should create a folder under the path given in the manual but where can I find the /var/lib folder? And how do I create a symlink? Any help with pictures would be greatly appreciated as this is not easy for me. Edited October 28, 2021 by workermaster Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 47 minutes ago, workermaster said: Could you please help me with this? I can't find the boot/extra folder on the Unraid USB drive. Where is that folder located? Found another post from you where you showed that you have to create the folder. Anyway, I am now at this part: 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. You should add the following content to the script (startup_script). Im not going into too much details of the script, the key thing is the last line. When you first startup the virtual machine during the runtime it will create a folder under /var/lib/libvirt/swtpm/ something like this /var/lib/libvirt/swtpm/141d5517-bb66-23b3-6373-c4288xxxxxx, you need to make sure that you copy this whole folder into the VM storage area and symlink it back on the next boot as /var/lib/libvirt/swtpm/ is not persistent. I am stuck there. I created the script and ran it manually. I thought that if I started a VM then it would create a folder somewhere. It should create a folder under the path given in the manual but where can I find the /var/lib folder? And how do I create a symlink? Any help with pictures would be greatly appreciated as this is not easy for me. Dont use this anymore. just update to RC2. it works much better. Quote Link to comment
workermaster Posted October 28, 2021 Share Posted October 28, 2021 18 minutes ago, okkies said: Dont use this anymore. just update to RC2. it works much better. RC2 isn't out yet. Any news on when we can expect it? Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 (edited) @workermaster its litterly 3 posts above this: Revert all the steps you done, so delete boot/extra stop the userscript then go to plugins install plugin and use this URL https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg Edited October 28, 2021 by okkies Quote Link to comment
workermaster Posted October 28, 2021 Share Posted October 28, 2021 39 minutes ago, okkies said: @workermaster its litterly 3 posts above this: Revert all the steps you done, so delete boot/extra stop the userscript then go to plugins install plugin and use this URL https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg I saw that post but that isn't the official release right? That is a test build. I can't find it through the update tab in Unraid. I have now just installed W10 and will wait until I can find the RC2 through the update tab. Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 3 minutes ago, workermaster said: I saw that post but that isn't the official release right? That is a test build. I can't find it through the update tab in Unraid. I have now just installed W10 and will wait until I can find the RC2 through the update tab. no disrespect, but you seem like a novice, are you sure you want to use beta software in order to get TPM working? read the URL, its hosted on the amazon servers of Limetech, aka unraid. again: Revert all the steps you done, so delete boot/extra stop the userscript then go to plugins tab in unraid install plugin and use this URL https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg Quote Link to comment
workermaster Posted October 28, 2021 Share Posted October 28, 2021 (edited) 18 minutes ago, okkies said: no disrespect, but you seem like a novice, are you sure you want to use beta software in order to get TPM working? read the URL, its hosted on the amazon servers of Limetech, aka unraid. again: Revert all the steps you done, so delete boot/extra stop the userscript then go to plugins tab in unraid install plugin and use this URL https://s3.amazonaws.com/dnld.lime-technology.com/test/unRAIDServer.plg I am indeed a novice. When it comes to anything Linux, pretty much the biggest novice in the universe. So thanks for trying to help me. All steps have already been reverted. I am confident that I can get the plugin way to work but am wondering what the difference is between the plugin version that I can install, or the update tab. Am I correct in thinking that the update I can install with the plugin way, is a nightly type of build and the one that will be rolled out on the update tab will be a more stable version of the RC2 build? Edited October 28, 2021 by workermaster Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 22 minutes ago, workermaster said: I am indeed a novice. When it comes to anything Linux, pretty much the biggest novice in the universe. So thanks for trying to help me. All steps have already been reverted. I am confident that I can get the plugin way to work but am wondering what the difference is between the plugin version that I can install, or the update tab. Am I correct in thinking that the update I can install with the plugin way, is a nightly type of build and the one that will be rolled out on the update tab will be a more stable version of the RC2 build? dont know why an RC2 isnt public. the nighly type also came to mind to me aswell. but as you can see by the steps to install the update, its a manual job. unraid doesnst have automatic updates for its OS. its a manual Handle. anyways, i got curios, seems were all fine. u can roll back to any version. now stop being a pussy and update 1 Quote Link to comment
workermaster Posted October 29, 2021 Share Posted October 29, 2021 22 hours ago, okkies said: dont know why an RC2 isnt public. the nighly type also came to mind to me aswell. but as you can see by the steps to install the update, its a manual job. unraid doesnst have automatic updates for its OS. its a manual Handle. anyways, i got curios, seems were all fine. u can roll back to any version. now stop being a pussy and update Took your advice, stopped being a pussy and updated. My virtual machines are still saying that they do not have TPM. Do I still need to follow the steps on the LinkedIn tutorial, except for the first few? Or are there any other handy fixes that I should know of? 1 Quote Link to comment
ghost82 Posted October 29, 2021 Share Posted October 29, 2021 (edited) 6 minutes ago, workermaster said: My virtual machines are still saying that they do not have TPM Did you choose ovmf tpm bios?And did you add the tpm to your vm? Edited October 29, 2021 by ghost82 Quote Link to comment
workermaster Posted October 29, 2021 Share Posted October 29, 2021 (edited) 14 minutes ago, ghost82 said: Did you choose ovmf tpm bios?And did you add the tpm to your vm? I have now switched the BIOS to the TPM one. Will read through the manual on LinkedIn again to figure out how I have to add the TPM to the VM. EDIT: I only had to switch the BIOS to the TPM one. I did not have to add anything to the XML file to get it to work. The Windows 11 tool now says that I can run Windows 11. I have been running W11 for a few months now but wanted to be able to update it. Edited October 29, 2021 by workermaster Quote Link to comment
okkies Posted October 30, 2021 Share Posted October 30, 2021 18 hours ago, workermaster said: I have now switched the BIOS to the TPM one. Will read through the manual on LinkedIn again to figure out how I have to add the TPM to the VM. EDIT: I only had to switch the BIOS to the TPM one. I did not have to add anything to the XML file to get it to work. The Windows 11 tool now says that I can run Windows 11. I have been running W11 for a few months now but wanted to be able to update it. the linkdin manual isnt required anymore. everything is baked in. i was lazy, i just made a new windows 11 VM within unraid. assigned the new bios and chipset(machine is chipset, right?) and used the same drives and components. ofc i had to update all the drivers on first boot. but its working like a charm. Have fun with Windows 11! Quote Link to comment
unrateable Posted November 8, 2021 Share Posted November 8, 2021 (edited) yesterday I made a snapshot of one of my unactivated Win 10 VMs, updated to the latest Then I used this tool to upgrade to Win 11 https://github.com/coofcookie/Windows11Upgrade No errors, went smoothly. Now playing around with it a bit and have not yet found any bugs I dont have any TPM, nor an emulated one, nor a supported Win 11 CPU Edited November 8, 2021 by unrateable Quote Link to comment
ich777 Posted March 17, 2022 Share Posted March 17, 2022 On 11/8/2021 at 8:00 PM, unrateable said: I dont have any TPM, nor an emulated one, nor a supported Win 11 CPU You know that since Unraid 6.10.0-rc2 TPM is now available in Unraid and you can Windows 11 as usual. You even can change your VM to use the emulated TPM as long as you are using OVMF as BIOS type without any scripts,...: Click 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.