Encrypt disk in Ubuntu


I installed  a Ubuntu 12.04 desktop by using the 12.04.2 alternate CD. After generated a distribution iso, I found the disk encryption feature was not included in the custom install process. To make the new iso support disk encryption, I wrote a script. Here is how it works: 1) Boot from the live CD. 2) … Continue reading Encrypt disk in Ubuntu

Compile Linux Kernel in Ubuntu


The new Linux kernel 3.7.9 has been released last week. Here is how I compiled it in my Ubuntu laptop.1) Install the prerequisites.jchen@JC:~$ sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev linux-source libncurses5 libncurses5-dev fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package2) Check the current kernel version.jchen@JC:~$ uname -r3.5.0-25-generic3) Download the kernel 3.7.9jchen@JC:~/Downloads$ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.7.9.tar.bz24) … Continue reading Compile Linux Kernel in Ubuntu