Preinstall Procedure - Moving to 11.04?

Ioannis Vranos ioannis.vranos at gmail.com
Thu Jun 2 12:06:10 UTC 2011


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?


Check about ecryptfs.


> 2. I'd like to encrypt another partition  the same way. How?


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




> 3. I'd like to create a list of all what is installed now, go over it,
> remove what I don't want and use what's left to install after the initial
> vanilla installation.
> What's the simplest way?
> Is it possible to create a script to do it?




-- 
Ioannis Vranos

http://www.cpp-software.net




More information about the ubuntu-users mailing list