[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612802: debian-installer: crypted partition assistant should all parameters (FS, mount point) of the partition encrypted



So why the crypted partition assistant choose ext3 filesystem for logical volume?

I would prefer it choose no filesytem, it will be less confuse that I have to configure logical volumes.

The LVM assistant is much rational on this point. 1. create logical volumes 2. configure them out of the LVM assistant

The "Assisté - utiliser tout un disque avec LVM chiffré" option didn't fit my need as for a laptop, only crypting /home and swap was necessary for me.


Le vendredi 11 février 2011 à 07:20 +0100, Christian PERRIER a écrit :
Quoting Tuxicoman (pub@jesuislibre.net):
> Package: debian-installer
> Version: squeeze 6.0
> Severity: normal
> 
> I wanted to crypt my /home partition at installation.
> 
> During the installation process, partition step :
> I have a empty disk.
> I first choose to partition automatically the disk (/ in ext3, swap and /home
> in ext3 created)
> Then I use the crypt partitions assistant (The langage used during installation
> was french, i don't know what is the english name of the menu item)
> I choose to crypt swap and the ext3 partition which mount point is /home.
> I configure the swap partition to be encrypted. Ok.
> In the screen where I configure the ext3 partition to be encrypted it shows :
> "mount point : /home".
> 
> Then, after processing, my crypted volumes are :
> swap assigned to swap,
> ext3 crypted volume : no mount point.
> 
> I guess, the ext3 crypted volume should have keeped the /home mount point and
> it's a bug.
> The user then has to assing manually this partition to /home otherwise debian
> installer will warn this partition will not be used.


Though it may seem logical to try, what you're trying to do is, imho,
nearly not possible without deep invasive changes.

You're indeed doing two partitioning steps. The first creates the
partitions and assigns mount points.....but the latteer uses these
partitions to create volumes where *logical* volumes will be created.

You want the logical volumes to keep the set mount point for the
volume containers. But, what if two logical volumes are created,
instead of only one, in each partition?

So, yes, at some point, the partitioner "forgets" that you assigned
/home to /dev/sda6 (for instance)....and you need to assign /home to
sda6_crypt once encrypted volumes are created.

I see no way to avoid that.

Encrypted volumes is a complicated thing, indeed. This is why we have
the "Assisté - utiliser tout un disque avec LVM chiffré" option, that
does everything automagically.




Reply to: