Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Encrypted Swap #31

Open
stefanrusso opened this issue Mar 2, 2022 · 3 comments
Open

Suggestion: Encrypted Swap #31

stefanrusso opened this issue Mar 2, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@stefanrusso
Copy link

Could you add an option for an encrypted swap partition inside the luks/lvm partition? Alternatively, whatever the current gentoo best practices are for an encrypted swap partition would be great.

@oddlama
Copy link
Owner

oddlama commented Apr 19, 2022

I'll have a look at it when I have enough time. Seems it would fit within the spirit of the installer.

@oddlama oddlama added the enhancement New feature or request label Apr 19, 2022
@oddlama oddlama added the help wanted Extra attention is needed label Jun 30, 2022
@oz123
Copy link

oz123 commented May 5, 2024

For anyone interested in this:
You will have to figure out create a disk layout with LVM on top LUKS.
Then add
disk_create_luks_lvm in here:

function disk_create_raid() {

Finally, you will have to add the correct parameters to the Linux cmdline when booting.

dracut --print-cmdline

@fonic
Copy link

fonic commented Nov 3, 2024

You will have to figure out create a disk layout with LVM on top LUKS

Not necessarily. There are other ways to achieve an encrypted swap.

Adding a module to dracut that unlocks both root and swap during boot, for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants