Preinstall Procedure - Moving to 11.04?
Ioannis Vranos
ioannis.vranos at gmail.com
Thu Jun 2 12:13:00 UTC 2011
Important notes:
On Thu, Jun 2, 2011 at 3:06 PM, Ioannis Vranos <ioannis.vranos at gmail.com> wrote:
> On Thu, Jun 2, 2011 at 2:51 PM, Amichai Rotman <amichai at iglu.org.il> wrote:
>> Hi All,
>> I have a Desktop and an Asus netbook, both running Ubuntu 10.04 LTS.
>> I always sticked to the LTS versions, because I like the stability. I was
>> looking at Ubuntu's web site and followed this list and I am trying to
>> decide if I should move to 111.04 or wait for the next LTS...
>> Now, before you all jump at me - this is not my main question. I know there
>> isn't a straight answer for this question. There are as many opinions out
>> there as there are people subscribed to this list....
>>
>> I played around too much with the 10.04 and I have to re-install. I plan to
>> try the new release on my netbook as a live "cd" (via USB) but I have a few
>> questions before re-installing (be it 10.04 or 11.04):
>>
>> 1. I have an encrypted /home partition - how do I gain access to it after
>> re-installing?
If you are talking about the classic home ==> directory encryption
option, chosen during installation. This creates a file, in which all
its contents are encrypted:
> Check about ecryptfs.
>> 2. I'd like to encrypt another partition the same way. How?
If you are talking about "whole disk encryption" (whole partition
encryption encrypted in sector level, not as a separate encrypted
file):
> cryptsetup luksFormat /dev/sdbX [ /path/to/password_file.txt ]
> --cipher aes-cbc-essiv:sha256
>
> where /dev/sdbX the partition you want to encrypt.
>
>
> Then you will have to open it as some Identifier, with cryptsetup
> luksOpen, and afterwards format it:
>
>
> mkfs.ext4 Identifier
>
>
> To automatically mount it during boot:
>
> /etc/crypttab:
>
> Identifier /dev/sdbX [ /path/to/password_file.txt ] luks
>
>
> /etc/fstab:
>
> /dev/mapper/Identifier /mnt/SomeDirectory ext4 defaults 0 3
--
Ioannis Vranos
http://www.cpp-software.net
More information about the ubuntu-users
mailing list