Encrypted Ubuntu 8.04 Hardy Heron install Mini Howto for linux. (I am using ubuntu 8.04 and kde) :-) Back to Main Page
How to install an encrypted ubuntu 8.04 Hardy Heron onto a partition or whole harddisk, using an alternate install cd.
This is a "fairly" short version, and if you want to know more, go to the Internet etc.
This howto is without any guarantee, and you may use it on your own responsibility only.
There may be errors, but I do not want to use too much time to write this howto.
To check for specific words you may try: http://en.wikipedia.org/wiki/Main_Page (search).
This
installation is mainly shown by screenshots taken during an
installation, and I used an ubuntu 8.04 alternate install cd.
A torrent
file for the iso image can be downloaded from here:
http://ie.releases.ubuntu.com/8.04/ubuntu-8.04-alternate-i386.iso.torrent
(needs to be burnt into an install cd)

Please
note, that I installed onto a very small partition on a virtual
harddisk of 8 GB size, using virtual box, so the size figures you
should use will not be the same - but
the principle is the same (I am just showing you an example) - I had to use virtualbox in order to make the screenshots.
Insert the ubuntu 8.04 alternate installation cd and boot the computer (start up the computer):













If you had a harddisk of 80 GB the above figure would have shown 80 GB


For the "/boot" partition (/dev/sda1) you only need 100 MB






Here is shown all the free space of the harddisk which can be used for the installation of ubuntu


If
the harddisk had been of 80 GB you could choose all the 80 GB, or if
you only want to use a partition of 25 GB you shold edit and change the
size accordingly to 25 GB








Here you insert the passphrase you will use to open your encrypted ubuntu each time you log in.
Please
use a "heavy" passphrase, possibly spread some @£${[]}£$#¤%& or
other signs between, possible make double words like this:
"haPpy$horse jUmping£fences"
(without the double quotes) - DO
NOT use words from dictionaries - possibly use some childrens funny
words phrase - use your phantasy - the longer the passphrase the
safer
(but not to long so it gets impractical to use). Please keep the
passphrase in a safe place, far away - do not ever tell anybody.


Please note that the size og 8.5 GB might be the size you choose (25 or 80 GB)




Please note again, that the 8.5 GB might have been 25 or 80 GB according to which size you choose for your installation.

Here
you shall choose "No", as we will create a swap file inside the
encrypted partition instead of using an unencrypted swap partition
which might compromize our
encrypted data.
You should
at best have more than 512 MB ram memory (best more than 1 or 2 GB ram)
in order to get a fairly good speed of your ubuntu when working with
big files.
RAM is faster than a swap partition which again is faster than a swap file.



Just an example - use your own name.

An example.



Here I inserted nothing.















In order to create a swap space of 2 GB run the following in a konsole shell:
sudo dd if=/dev/zero of=/usr/swap bs=1024k count=2000 - "Enter"
sudo mkswap /usr/swap
sudo swapon /usr/swap
Then you should add the following line into the /etc/fstab file:
/usr/swap none swap sw 0 0
Now you have a swap space file called "swap" of the size 2 GB in the /usr directory
6/2008