FS#27137 - [cryptsetup] Allow setting LUKS swap partition using UUID
Attached to Project:
Arch Linux
Opened by Dan Liew (delcypher) - Sunday, 20 November 2011, 11:36 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 15 May 2012, 02:26 GMT
Opened by Dan Liew (delcypher) - Sunday, 20 November 2011, 11:36 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 15 May 2012, 02:26 GMT
|
Details
Description:
As described here ( https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS#Using_UUIDs_with_encrypted_swap_partitions ) it is useful to be able to use UUID to identify the drive to use for a LUKS swap partition rather than relying on the partition device name that the kernel gives the e.g. (/dev/sda1). A small change needs to be made to "/etc/rc.sysinit" to allow this to work. Additional info: I've updated the wiki page to reflect the changes that need to be made to the "rc.sysinit" script to allow this to work. It's a one line change which I've tested on my machine with no problems. Could this modification be made part of the offical "/etc/rc.sysinit"? Maybe a note should be made in /etc/cryptab as well highlighting the fact that the "--offset 8" parameter needs to be used so that the UUID doesn't get wiped by cryptsetup. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 15 May 2012, 02:26 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#24700
Tuesday, 15 May 2012, 02:26 GMT
Reason for closing: Duplicate
Additional comments about closing: