Install on encrypted partitions?

Archived topics about LMDE 1
Forum rules
User avatar
Nuxro
Level 1
Level 1
Posts: 3
Joined: Sat Sep 11, 2010 6:59 am
Location: London
Contact:

Install on encrypted partitions?

Postby Nuxro » Sat Sep 11, 2010 7:10 am

Hi,

Is there a way I can have the install done on an encrypted (luks) /? I didn't see any encryption options during the partitioning.

evan79
Level 1
Level 1
Posts: 1
Joined: Sat Sep 11, 2010 2:16 pm

Re: Install on encrypted partitions?

Postby evan79 » Sat Sep 11, 2010 4:15 pm

I 2nd this request, thanks

User avatar
HaTeMe
Level 1
Level 1
Posts: 29
Joined: Wed Dec 23, 2009 12:40 pm

Re: Install on encrypted partitions?

Postby HaTeMe » Sat Sep 11, 2010 4:25 pm

TrueCrypt inside of the Installer would be cool.

michaelzap
Level 3
Level 3
Posts: 159
Joined: Sat Sep 11, 2010 9:32 pm

Re: Install on encrypted partitions?

Postby michaelzap » Sat Sep 11, 2010 9:36 pm

+1 I'm really excited about this project, and I'm willing to give 32-bit with a PAE kernel a try for now. But I definitely need either to use LUKS or the encrypted home directory method of keeping my data safe.

I'm sure there are ways to do this, so it'll just be a matter of figuring them out or someone sharing them.

User avatar
Nuxro
Level 1
Level 1
Posts: 3
Joined: Sat Sep 11, 2010 6:59 am
Location: London
Contact:

Re: Install on encrypted partitions?

Postby Nuxro » Sun Sep 12, 2010 3:27 am

michaelzap wrote:+1 I'm really excited about this project, and I'm willing to give 32-bit with a PAE kernel a try for now. But I definitely need either to use LUKS or the encrypted home directory method of keeping my data safe.

I'm sure there are ways to do this, so it'll just be a matter of figuring them out or someone sharing them.


To have your /home partition encrypted is trivial, have a look here:
http://feeding.cloud.geek.nz/2008/05/en ... using.html or
http://www.hermann-uwe.de/blog/howto-di ... and-debian
There are really a lot of examples on the internets.

As for the PAE, if it bugs you, you can always try to install a 64bit kernel from Debian Testing.

noah++
Level 1
Level 1
Posts: 12
Joined: Wed Nov 03, 2010 10:10 pm

Re: Install on encrypted partitions?

Postby noah++ » Wed Nov 03, 2010 10:20 pm

The graphical portion of the Linux Mint installer doesn't offer this option like OpenSUSE does. But it should be possible to drop into a shell to run the necessary commands to set up encrypted root (or any other encrypted filesystem) before the installer tries to partition or to copy over the system files. For these commands, you can follow just about any LUKS whole-disk encryption setup guide.

HaTeMe wrote:TrueCrypt inside of the Installer would be cool.


Note that TrueCrypt cannot encrypt the Linux root filesystem.

User avatar
Nuxro
Level 1
Level 1
Posts: 3
Joined: Sat Sep 11, 2010 6:59 am
Location: London
Contact:

Re: Install on encrypted partitions?

Postby Nuxro » Thu Nov 04, 2010 7:23 am

noah++ wrote:
HaTeMe wrote:TrueCrypt inside of the Installer would be cool.


Note that TrueCrypt cannot encrypt the Linux root filesystem.


And it also has licensing problems. I don't think TrueCrypt is really an option for linux users, from a philosophical point of view.
Luks and ecryptfs are nice enough to not need anything else.

michaelzap
Level 3
Level 3
Posts: 159
Joined: Sat Sep 11, 2010 9:32 pm

Re: Install on encrypted partitions?

Postby michaelzap » Thu Nov 11, 2010 2:02 am

Nuxro wrote:
michaelzap wrote:+1 I'm really excited about this project, and I'm willing to give 32-bit with a PAE kernel a try for now. But I definitely need either to use LUKS or the encrypted home directory method of keeping my data safe.

I'm sure there are ways to do this, so it'll just be a matter of figuring them out or someone sharing them.


To have your /home partition encrypted is trivial, have a look here:
http://feeding.cloud.geek.nz/2008/05/en ... using.html or
http://www.hermann-uwe.de/blog/howto-di ... and-debian
There are really a lot of examples on the internets.

As for the PAE, if it bugs you, you can always try to install a 64bit kernel from Debian Testing.

For some reason I hadn't noticed this reply before. Thanks for the links. What I'll probably want to do, however, is dual-boot Win7 (encrypted with TrueCrypt) and LMDE (with all data on a LUKS LVM, so that swap and tmp are also protected). I've seen some Debian tutorials for doing this, so I think LMDE will work just as well. For example:
http://ruleant.blogspot.com/2009/11/how ... -boot.html
http://www.redmezzanine.com/?p=92&lang=en

Now I just need a few free hours to give it a try...

dfx
Level 1
Level 1
Posts: 34
Joined: Sun Nov 14, 2010 12:35 pm

Re: Install on encrypted partitions?

Postby dfx » Sun Nov 14, 2010 12:59 pm

noah++ wrote:The graphical portion of the Linux Mint installer doesn't offer this option like OpenSUSE does. But it should be possible to drop into a shell to run the necessary commands to set up encrypted root (or any other encrypted filesystem) before the installer tries to partition or to copy over the system files. For these commands, you can follow just about any LUKS whole-disk encryption setup guide.

Dropping into a shell is possible, but I didn't find a way in LMDE installer to install on a LVM volume, I just could select real partitions.

After some days I got it working anyway :-) I installed LMDE in a VM and rsynced the files to my system booted with the live DVD. Before you have to prepare and mount the encrypted LVM volume. For that you can stick to the tutorials on the net. After rsync you still have to do the chroot stuff like installing grub, adopting initramfs and so on. That steps should be in the tutorials, too.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 1 guest