FS#24700 - [cryptsetup] no decrypt when device changed (UUID-support)
Attached to Project:
Arch Linux
Opened by Andrwe (Andrwe) - Sunday, 12 June 2011, 18:00 GMT
Last edited by Dave Reisner (falconindy) - Friday, 01 June 2012, 18:05 GMT
Opened by Andrwe (Andrwe) - Sunday, 12 June 2011, 18:00 GMT
Last edited by Dave Reisner (falconindy) - Friday, 01 June 2012, 18:05 GMT
|
Details
Description:
If the path of crypdevice changes due to BIOS e.g. /dev/sdb2 -> /dev/sdc2 the system-root can't be decrypted because the device can't be found. Because UUIDs are more reliable I've written a patch for the encrypt-hook of initcpio. With the patch you can set cryptdevice=UUID=<UUID>:root and the given UUID will be resolved by blkid to the real device-path. Additional info: cryptsetup 1.3.1-1 |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 01 June 2012, 18:05 GMT
Reason for closing: Implemented
Additional comments about closing: cryptsetup 1.4.2-2
Friday, 01 June 2012, 18:05 GMT
Reason for closing: Implemented
Additional comments about closing: cryptsetup 1.4.2-2
This is already possible by using cryptdevice=/dev/disk/by-uuid/... if udev is running.
I'll consider including this into the hook anyway.