June 15Jun 15 Hello,how I can identify the Boot and License Type through Terminal or Script like flash, internal boot, TPM, flash licensed, ...It's that a Config File Entry?From German: https://forums.unraid.net/topic/199455-identifizierung-von-flash-oder-internal-boot-sowie-lizenzierung/Many Thanks!Many GreetingsRevan335
June 15Jun 15 Community Expert Licenses can only be TPM or flash drive-based, not internal bootOne easy way to tell is if they start with 01- they are TPM based, if they start with 4 characters (XXXX-) they are tied to a flash drive
June 15Jun 15 Author How I can find this characters per Terminal or a Script or is that an Entry on a Config File?And how I can check flash or the new internal Boot Mode on the same Ways?
June 15Jun 15 Community Expert cat /var/local/emhttp/var.ini | grep GUIDIt will show one or both, if availble, and also which one is being used.As for the boot device, not sure how to get that from a file. One possible way would be to check the boot device partitions; if there are 4, it's internal boot.
June 15Jun 15 Author 27 minutes ago, JorgeB said:As for the boot device, not sure how to get that from a file. One possible way would be to check the boot device partitions; if there are 4, it's internal boot.That was an Option. It the boot device always the same path/name ...?So we can find this with the same command on any system. Or have the Boot device a one command to identify it?Than list partitions with for example lsblk or fdisk -l?
June 16Jun 16 Community Expert You can get the boot device from the syslog; though probably there's a better place, but I don't know.
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.