Firebird News

Thursday, October 09, 2008

compiling 2.6.26 vanilla on hardy - ubuntu way

This article is about compiling a kernel on Ubuntu systems. It describes how to build a custom kernel using the latest unmodified kernel sources from (vanilla kernel) so that you are independent from the kernels supplied by your distribution.

cd /usr/src
wget --continue
tar jxvf linux-
ln -s linux- linux
cd linux
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
cd ..
dpkg -i linux-image-*
shutdown -r now

you can install the headers too from /usr/src/linux-headers-*
in my case i can show you how the packages are named
ls *.deb


Unknown said...

hmmm. nice one.

Now i'm compiling 2.26.6, but i really don't now why... I'm waiting for the Intrepid when it comes out i change my os. But i like compiling:D

Popa Adrian Marius said...

Well you can test the 2.6.27 kernel too on hardy

I only had some issues with nvidia binary post install script
but kerenel booted and is in good shape :)

Unknown said...

ehh:D I had some hard things about nvidia.
First of all, sorry for my bad english, i am hungarian, so...
About 2 years ago i started to use linux, but just for my pleasure. I sometimes i used win too. After half a year, my win broken. The video card freeze everytime, when i wanted to start something like video, or game. But only under win. I reinstalled the driver, nothing changed. reinstalled the OS... nothing:D
But under linux, i can do everything. So my computer got to like the linux, and conceived a dislike for win:D
Since then I unable to run win on my computer:D But i dont mind:D I like linux. the only problem is the glx support. I think somehow this part of my card got damaged... don't know how...
This was my story:D

Unknown said...

And one more thing. I cannot use the nvidia driver, just the nv in xorg... but i can live without it:D