How to Re-Compile your Kernel (Ubuntu)

Get your Kernel Sources from either a repository or from the kernel website

Create the symbolic link from the location of your sources to /usr/src/linux

 ln -s /usr/src/linux /usr/src/linux-2.6.22-r8


 cd /usr/src/linux

make menuconfig

To set your kernel optionsThen

 make dep

make clean

make bzimage

make modules

make modules_install

make install

Now you have to modify your /boot/grub/menu.1st by hand

Reboot and choose your new kernel

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.