How do I add an already encrypted /home during install?

2009-06-05 Thread Aniruddha
I have setup an encrypted /home with dm-crypt. Now I try to reinstall
Debian. The installer sees a partition with a ext3 file system. How do
I proceed (without destroying my data on /home)? Should I configure
the partition as encrypted with 'erase' unchecked? And if so how do I
know if the default settings (aes etc) are correct/ Thanks in advance!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: How do I add an already encrypted /home during install?

2009-06-05 Thread Peter Jordan

Aniruddha, Fri Jun 05 2009 17:36:52 GMT+0200 (CEST):

I have setup an encrypted /home with dm-crypt. Now I try to reinstall
Debian. The installer sees a partition with a ext3 file system. How do
I proceed (without destroying my data on /home)? Should I configure
the partition as encrypted with 'erase' unchecked? And if so how do I
know if the default settings (aes etc) are correct/ Thanks in advance!




i would leave the encrypted partition untouched during installation and 
add it after the installation.


PJ


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




(SOLVED) Re: How do I add an already encrypted /home during install?

2009-06-05 Thread Aniruddha
On Fri, Jun 5, 2009 at 8:19 PM, Peter Jordanusernetw...@gmx.info wrote:
 i would leave the encrypted partition untouched during installation and add
 it after the installation.

 PJ


Thanks for the help! I did some more research and this appears to be
the only method to reuse encrypted partitions. Even worse no matter
what option you choose your encrypted partition will be wiped:


I had first installed i386 system with encrypted /home and swap. Then I
decided to install also amd64 build -- reusing both encrypted
partitions. Although I checked out smth like 'delete data' in the
encryption setup menu, which I treated as 'preserve/dont touch', it
did reinitialize them and I had to recreate filesystems on top.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451535

-

The user isn't warned and the data contained in the encrypted volume
will be killed without notice,
even if the same password is supplied.

I suggest to give the user the option of reusing the encrypted device
or at least give a big fat warning
that his data will be killed, if he proceeds one step further.



given the current lack of manpower
working on partman-crypto, I doubt this is fixed unless someone comes
up with a patch.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529343


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org