Posts from the ‘Kernel’ Category

[guide] Patch and Compile Kernel with Custom Boot Logo

Unlike every other distro, Slackware doesn’t brand anything. Everything is vanilla. So when you boot, you see the original linux penguin logo at the top of your screen.

Download the latest kernel source from I’ll be using here kernel 2.6.32 source and patch. So you understand that you don’t need to download the whole kernel source every-time a new kernel version is released. If you have the previous source or a kernel source which is older, say 2.6.31, then you will need all the subsequent incremental patches from to and you will need to apply them one by one to the kernel source. I’ll just be showing one.

Read more…

[example] Compiling 2.6.32 kernel in Slackware 64

Please Note: You should atleast read Eric Hameleers’ Guide once if you are new to kernel compiling. I always refer this guide to people who just started kernel compiling since it’s very well-written and explained in details. Here is the link.

This is my second kernel compile guide [actually more like a report of my experience]. A few things I did differently than last time, so instead of updating the previous guide I thought of creating a new one. So, here goes.

Read more…

[howto] Compile 2.6.31 Kernel in Slackware 13.0

This is the way I did it, and hopefully should work for you as well.

Open terminal and login as root [or if you’d prefer, use sudo in every step.]

# cd /usr/src

# wget ‘’

# tar xvfj linux-2.6.31.tar.bz2

After it’s extracted remove the previous symlink.

# rm -rf linux

# ln -s /usr/src/linux-2.6.31 /usr/src/linux

Now your linux directory points to your newly extracted kernel tree source. If you want you can configure using your personal config, or I have uploaded my config which I will use in this guide. So you may skip next step of wgetting it. 😉

Read more…

[howto]Getting rid of Fedora-Nvidia annoyances!



Hello all! I’m writing this guide purely out of experience and whatever I have come across didn’t help at all! Their forum is friendly but not really useful. So I had to get my own workaround. If you are using Fedora for a while now and do yum updates regularly you will notice that kernel upgrades are pretty frequent. If you have Nvidia card then you must have added the rpmfusion repo and installed kmod-nvidia or akmod-nvidia. After I ran:

yum update

and rebooted into my fresh new kernel, dang! NO X! I started googling out of frustration and even searched their official forum. Only to be disappointed as I found they were suggesting the akmod-nvidia instead of kmod which builds your nvidia modules with every kernel upgrades automatically. So I tried that! Didn’t help at all! So I did:

yum erase kmod-* && yum erase akmod-*

then I went to: Nvidia and selected my Card and downloaded the .run driver file and saved it in my ~/ [home folder!]



Next in a terminal as root typed:

yum install kernel-devel

Now you can not build the kernel modules whilst in X so I rebooted. In the boot menu press “e” to edit the boot parameter and again press “e” to edit the kernel parameter. remove “quiet” and add “3” after ro  and at the end “verbose”. So it should become “ro 3 rhgb verbose”. Now press enter and then “b”.

After the booting is done you will be presented with a console login. Type in your username and password. Then:

sh ~/Nvidia…[press tab for auto-completion!].run

Now the setup should start, accept the license and proceed!After that:

rm /etc/X11/xorg.conf && nvidia-xconfig

nano /etc/X11/xorg.conf

And add at the end the following [if not already present! Mine wasn’t!]

Section “Extensions”

Option    “Compositing”    “Enable”


Then reboot and your X should be waiting for you. 😉

[example] Compiling a custom kernel in ubuntu

Please read the tag! This is not a guide or tutorial or a howto! This is just an example to give you an idea , this is just my procedure which changes everytime with a new kernel! So do not follow this blindly!

What I did was used my Debain Sid as Host and installed ubuntu Jaunty [9.04] using virtualbox-ose. Now time for fun! 😀

Downloaded the latest kernel from

Opened a terminal and extracted the kernel .bz2 file:

$ sudo tar -xvjf ~/Desktop/linux- -C /usr/src

$ cd /usr/src/linux-

Now that we are in, there’s no getting out! 😉

So I typed in

$ sudo apt-get update && sudo apt-get install build-essential fakeroot libncurses5 makedumpfile gcc && sudo apt-get build-dep linux

Now wait a while lotsa commands in a single line whooo!

Done? Mkay, so let’s continue:

$ sudo make mrproper

$ sudo make menuconfig

Choose whatever you require, I tweak a lot but you probably don’t need to, just go through each options and see what you need or don’t need.

Then for the big one [woooh! This is gonna take a while! Took me an hour or so in virtualbox 😦 ]

$ sudo make

Click to enlarge

Click to enlarge

Read more…