#Compiling a custom Linux kernel
# Install required tools
sudo apt-get install ncurses-dev
# Download Linux source
sudo apt-get install linux-source
cd /usr/src/
# Extract Linux source
tar xf linux-source-*.tar.xz
cd linux-source-*/
# Copy default config
cp /boot/config-* .config
This is where you should install any patches you want to add to the kernel
# Configure the kernel
# You can learn more about configuration at http://www.linux.org/threads/4274/
make menuconfig
# Build the kernel (This will take a LONG time)
make
# Build the kernel modules (This MIGHT take a long time)
make modules
# Install modules
make modules_install
# Install kernel
make install
What options do we select in menuconfig? Do we leave it as it is and build?