What should I encrypt in Debian during install?
Posted
by ianfuture
on Server Fault
See other posts from Server Fault
or by ianfuture
Published on 2010-03-15T12:51:05Z
Indexed on
2010/03/15
13:00 UTC
Read the original article
Hit count: 236
I have seen various guides and recommendations on web about how best to do this but nothing that clearly explains the best way and why. So I understand there is a need for part of Debian during install to be un-encrypted on its own partition to allow it to boot. Most info I have seen is call this /boot and set the boot flag. Next I believe the best approach is to create another partition out of all the rest of the disk space, encrypt this, then on top of that create a LVM and then within the LVM create my various partitions , name them , select size, and file system type. Can I include /swap in the encrypted LVM part ? Is this approach sound? If so what are the partitions I should use (this is going to be a minimal server install with a view to install as and when what I need for a dev server)? Finally how does the installer know what to put in each partition I define ?
I appreciate there are more than one question but any help and suggestions would be appreciated. If further clarification is needed please mention in the comments .
Thanks.. Ian
© Server Fault or respective owner