2007-03-13 08:57:01 |
Gabriel Ambuehl |
bug |
|
|
added bug |
2007-03-13 08:57:48 |
Gabriel Ambuehl |
bug |
|
|
added attachment 'LUKSResumePatch' (resume from LUKS encrypted swap patch) |
2007-03-13 09:00:11 |
Gabriel Ambuehl |
description |
Binary package hint: initramfs-tools
The attached patch allows to suspend and resume to a LUKS encrypted swap partition. This means that all data (including passwords) that would otherwise be written to disk in plain text will be encrypted.
To make use of the patch, you must
* create a LUKS encrypted partition
* activate the device with cryptsetup luksOpen
* run mkswap on it and enter it in fstab as swap
* change your resume=* line to
resume=LUKS=/name/of/harddiskpartition:devicemapper name
For example resume=LUKS=/dev/hda3:cryptswap
You will then be asked to provide the password for the swap partition upon boot and the script will try to resume from it. If it can't find swsuspend signatures, boot will continue. The script will also automatically setup correct suspend device for swsuspend.
I have extensively tested this on Feisty. |
Binary package hint: initramfs-tools
The attached patch allows to suspend and resume to a LUKS encrypted swap partition. This means that all data (including passwords) that would otherwise be written to disk in plain text will be encrypted.
To make use of the patch, you must
* create a LUKS encrypted partition
* activate the device with cryptsetup luksOpen
* run mkswap on it and enter it in fstab as swap
* change your kernel's resume=* line to
resume=LUKS=/name/of/harddiskpartition:devicemapper name (actual process depends on the bootloader used)
For example resume=LUKS=/dev/hda3:cryptswap
* then run update-initramfs to build a new initramfs.
You will then be asked to provide the password for the swap partition upon boot and the script will try to resume from it. If it can't find swsuspend signatures, boot will continue. The script will also automatically setup correct suspend device for swsuspend.
I have extensively tested this on Feisty. |
|
2008-09-27 04:39:29 |
Daniel T Chen |
initramfs-tools: status |
New |
Incomplete |
|
2008-09-27 04:39:29 |
Daniel T Chen |
initramfs-tools: statusexplanation |
|
Is this issue relevant in 8.10 still? It's too late to push into 8.10 if so, but we can try for 9.04. |
|
2009-02-26 23:40:21 |
Dimitrios Symeonidis |
initramfs-tools: status |
Incomplete |
New |
|
2009-02-26 23:40:21 |
Dimitrios Symeonidis |
initramfs-tools: importance |
Undecided |
Wishlist |
|
2009-02-26 23:40:21 |
Dimitrios Symeonidis |
initramfs-tools: statusexplanation |
Is this issue relevant in 8.10 still? It's too late to push into 8.10 if so, but we can try for 9.04. |
setting back to new, importance wishlist
related redhat thread: https://bugzilla.redhat.com/show_bug.cgi?id=247794 |
|
2010-08-20 16:29:28 |
Dimitrios Symeonidis |
removed subscriber Dimitrios Symeonidis |
|
|
|
2012-10-02 19:29:35 |
Thomas Hotz |
initramfs-tools (Ubuntu): status |
New |
Confirmed |
|
2012-10-02 19:30:18 |
Thomas Hotz |
bug |
|
|
added subscriber Thomas Hotz |
2012-10-02 19:30:22 |
Thomas Hotz |
initramfs-tools (Ubuntu): status |
Confirmed |
Incomplete |
|
2024-06-06 14:11:40 |
Benjamin Drung |
initramfs-tools (Ubuntu): status |
Incomplete |
Fix Released |
|