Showing posts with label vanilla. Show all posts
Showing posts with label vanilla. Show all posts

Thursday, October 09, 2008

Compiling 2.6.27 RC9 Vanilla on Hardy - Ubuntu/Debian 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 www.kernel.org (Vanilla Kernel) so that you are independent from the kernels supplied by your distribution.

-rc kernel patches are generated from the base stable release.

For example: to create the 2.6.27-rc9 kernel, you must:

  • download 2.6.26 (not 2.6.26.x)
  • and then apply the 2.6.27-rc9 patch.

Yes, you want 2.6.26 not 2.6.27. Remember, that's an -rc kernel, as in, 2.6.27 doesn't exist yet. :)



seems tha the kernel you want is prepatch , choose B from this area "The latest prepatch for the stable Linux kernel tree is" also choose 2.6.27-rc9 the same area.

cd /usr/src
wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2
tar jxvf linux-2.6.26.tar.bz2
get the patch
wget http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.27-rc9.bz2
bunzip2 patch-2.6.27-rc9.bz2
cd linux-2.6.26
patch -p1 < ../patch-2.6.27-rc9
cd ..
mv linux-2.6.26 linux-2.6.27-rc9
cd linux-2.6.27-rc9/
cp /boot/config-`uname -r` ./.config
make menuconfig or if you want to compile old config without questions make oldconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers cd ..
I had to disable the nvidia postinstall scripts

chmod -x /etc/kernel/postinst.d/nvidia-common

dpkg -i linux-image-2.7.27-* in my case
sudo dpkg -i linux-image-2.6.27-rc9-custom_2.6.27-rc9-custom-10.00.Custom_amd64.deb shutdown -r
now you can install the headers too from /usr/src/linux-headers-2.6.27*

If you want to build it Vanilla way without debian tools then consult this page http://kernelnewbies.org/KernelBuild

Saturday, September 20, 2008

so the kernel team is going in the right direction in ubuntu

http://blog.redvoodoo.org/2008/09/linux-plumbers-conference-recap.html

* The kernel team will be packaging up the latest bleeding edge upstream "Vanilla" kernel. There are some details still to be worked out, like where it will live. Will go in main or universe, a PPA... The point with this is so that users will have a pristine upstream kernel to test against. This is where the kernel team is doing new development anyway. If the issue is fixed we can quickly do a git bisect and figure out what patch is needed and backport it to the stable kernel if it makes sense. I'll write more about this one in a future blog posting.

Tuesday, January 22, 2008

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 www.kernel.org (vanilla kernel) so that you are independent from the kernels supplied by your distribution.

cd /usr/src
wget --continue http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.14.tar.bz2
tar jxvf linux-2.6.23.14.tar.bz2
ln -s linux-2.6.23.14 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-2.6.23.14-custom_2.6.23.14-custom-10.00.Custom_i386.deb
shutdown -r now

you can install the headers too from /usr/src/linux-headers-2.6.23.14-*
How To Compile A Kernel - The Ubuntu Way | HowtoForge - Linux Howtos and Tutorials

Blogged with Flock