root partition LUKS encryption possible?

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help

root partition LUKS encryption possible?

Postby Silberwoelfin on Mon Dec 06, 2010 1:49 pm

Hi there,

I would like to encrypt my root partition during the installation progress of Linux Mint Debian Edition. Is that possible?
I already tried this but it doesn't seem to work. During installation there is always a warning 'low on disk space' for the root filesystem displayed, despite the root partition having 10G of disk space which should be enough.
Or maybe I did something wrong with the logical volumes, in GParted the option for logical volume was disabled, so I used primary and only marked the partition as 'lvm'.

Greetings,
Silberwoelfin
Silberwoelfin
Level 1
Level 1
 
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Linux Mint is funded by ads and donations.
 

Re: root partition LUKS encryption possible?

Postby dfx on Mon Dec 06, 2010 4:26 pm

At the moment the installer doesn't support installation on lvm or raid volumes. There's an anouncment for an new version of LMDE with an improved installer, which should be released this month. Maybe it also supports that kind of installation.

Nevertheless it's possible to get a running LUKS setup, although it requires some effort. Basically you install LMDE the normal way on a seperate drive/partition/computer and then copy all the files to the encrypted drive, you have created using the manual mentioned. Afterwards you have to install grub, cryptsetup, lvm and update your initramfs.
dfx
Level 1
Level 1
 
Posts: 34
Joined: Sun Nov 14, 2010 12:35 pm

Re: root partition LUKS encryption possible?

Postby Silberwoelfin on Tue Dec 07, 2010 3:23 am

Thanks for your answer.
I think, I will wait a few weeks and see if it works then.

Otherwise, probably a normal Debian installation with an upgrade to LMDE should also work, don't you think?

Greetings,
Silberwoelfin
Silberwoelfin
Level 1
Level 1
 
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Re: root partition LUKS encryption possible?

Postby dfx on Tue Dec 07, 2010 3:18 pm

Yes, an upgrade from debian should also work fine. I think it would even more easy than my approach ;-)
dfx
Level 1
Level 1
 
Posts: 34
Joined: Sun Nov 14, 2010 12:35 pm

Re: root partition LUKS encryption possible?

Postby CyL on Thu Jan 06, 2011 12:49 pm

Just in case you're still interested, I've made a guide on how to install LMDE with whole disk encryption. It is available at viewtopic.php?f=42&t=63376&p=364620#p364620

Hope that helps!
CyL
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 05, 2011 1:03 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 5 guests