You are not logged in.

#1 2025-01-06 15:36:28

gcb
Member
Registered: 2014-02-12
Posts: 212

multiple rd.luks.key?

So I decided to create backups for my luks key on a remote device, and realized my boot entry is tied to a device UUID.

So, 1) is there a way to look on all devices?
2) is `tune2fs -U <old-UUID> /dev/newdevice` smart? i've seen data loss reports on anything besides '-U random'. But this would be kinda nice, the UUID being an extra "password" smile
3) can i create N devices and add N times "rd.luks.key=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX=/path/to/keyfile:UUID=ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ"? how even is the syntax? Can i just declare this option several times or is there a complex list pattern?

Offline

#2 2025-01-06 15:52:52

gcb
Member
Registered: 2014-02-12
Posts: 212

Re: multiple rd.luks.key?

regarding 2, I've created backups with `mkfs.ext4 -U <old-UUID> /dev/newdev` and it works perfectly. No need to use tune2fs.

Would still like to hear an answer on 1 and 3 tho.

Offline

Board footer

Powered by FluxBB