I found that we can encrypt full disk with old version of Ubuntu. I want to do the same with Ubuntu 12.10 but I don't understand the scripts that run when starting with initramfs. So anyone is ever did it?
1 Answers
The process of encryption is destructive to your data as you "should" first write random data to the disk, which will over write your data.
IMO the best way to use LUKS (full encryption) is to back up your data re-install.
In terms of the initramfs, it is a set of commands that run in busybox (a minimal shell) to initialize your hardware, peform LVM or manage LUKS, and load the kernel. These days distros build an initramfs for you so you do not need to manually edit the initramfs at all.
If you want to look at the internals, see http://blog.bodhizazen.com/linux/initramfs/
If you want to look at how Ubuntu generates an initramfs, see https://wiki.ubuntu.com/Initramfs
If you have a specific question about a specific step ask a more detailed question.
There are several tools to encrypt data post install, everything from an encrytped home (ecryptfs) to gpg.
See https://help.ubuntu.com/community/EncryptedHome
and for post install see http://www.howtogeek.com/116032/how-to-encrypt-your-home-folder-after-installing-ubuntu/
and http://blog.dustinkirkland.com/2009/06/migrating-to-encrypted-home-directory.html
- 104,528