Building the Linux kernel on Ubuntu 10.04LTS
(2011-08-11 22:22)
Step 1. Getting the kernel source code
wget http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.34/linux-2.6.34.10.tar.bz2
Step 2. Uncompressing and untaring
tar xjvf linux-2.6.34.10.tar.bz2
Step 3. Configuring the kernel
cd linux-2.6.34.10make menuconfig
Note: make sure you choose ext4 ext2 and set CONFIG_DEVTMPFS=y
Step 4. Compiling the kernel
Step 5. Installing the kernelmakemake modules
Step 6. Making an initrd imagesudo make installsudo make modules_install
cd /bootsudo mkinitramfs -o initrd.img-2.6.34.10 2.6.34.10
Step 8. Rebooting your systemsudo update-grub
sudo reboot

