Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Choosing Mount Points with Automatic Disk Encryption (Minimal CLI) #755

Open
sercansahan opened this issue Nov 8, 2018 · 4 comments
Open

Comments

@sercansahan
Copy link

When choosing Automatic Partiton with LVM, it may be good idea to give option to choose which mount points will be created as seperate volumes.

Some users may want seperate volume for /home and do not want seperate one for /tmp, some other may want seperate volumes for /usr, /tmp etc.

For recommendation, a fixed list for order of mount points can be used and depending on user choice, volumes can be created depending on their order in that fixed list.

@sercansahan sercansahan changed the title Disk Encryption, Choosing Partitions(Minimal CLI) Choosing Mount Points with Automatic Disk Encryption (Minimal CLI) Nov 8, 2018
@nemanjan00
Copy link
Contributor

Right now, this can be done by creating LVM in advance. I would avoid automated LVM due to #353

Swap itself is not inside of encrypted LVM.

One problem I am facing right now is disk configuration crashing due to /dev/[opened luks device] missing, but that can be fixed by patching this line:

https://github.com/deadhead420/anarchy-linux/blob/master/lib/configure_device.sh#L392

All you need is to grep -v that device.

@erazemk
Copy link
Member

erazemk commented Aug 22, 2019

@sercansahan Isn't the point of an automated installation to not need any input? But I see where you're coming from, it could maybe be a seperate option during the installation.

Edit: Sorry, didn't mean to close the issue.

@sercansahan
Copy link
Author

I encountered a crash during disk configuration and could not use automated LUKS on LVM but I am not sure if it is the crash @nemanjan00 mentioned since last time I used the installer was over a year ago.

Also, @JustMeErazem , you are right. An automated installation should not need any input and as you mentioned this can be a separate option during the installation. I opened this because previous home partition can be reused in a fresh installation (which I regularly do if I reinstall my current distro) but current automated LVM config does not allow that.

@erazemk
Copy link
Member

erazemk commented Aug 23, 2019

@sercansahan Didn't think about this use case, you're right. Would you maybe want to add this option yourself and send a PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants