attempting to get encrypted drive mounted automatically following a guide and urandom doesnt exist

https://fjelloverflow.dev/posts/how-to-automount-luks/ is the guide I was following, is there any recommended way to setup auto mount for a encrypted drive? my main drive is encrypted dd if=/dev/urandom of="$KEY_PATH" bs=1024 count=4 was the command I ran with a different key path dd: failed to open '/dev/urandon': No such file or directory is the error that came back
Automount encrypted drives on Linux | FjellOverflow
How to mount LUKS encrypted partitions on boot on Linux
2 Replies
iMightBeSpyduck
best way is to store key is in TPM and use it to unlock your drive. In bios you need to make sure you have TPM enabled. Bazzite have script to set it up for you. Run ujust setup-luks-tpm-unlock and follow instruction. I have not tested this myself
Ninchuka
NinchukaOP4w ago
oh I thought that was just for the main disk I went to do that but since I have a ryzen 5600xt I'm vulnable to faultTPM arent I from the warning from that command

Did you find this page helpful?