Posts tagged ‘compile’

[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 kernel.org. I’ll be using here kernel 2.6.32 source and 2.6.32.1 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 2.6.31.1 to 2.6.32.1 and you will need to apply them one by one to the kernel source. I’ll just be showing one.

Read more…

Advertisements

[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 ‘http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.tar.bz2’

# 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…

[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 2.6.30.4 kernel from http://kernel.org

Opened a terminal and extracted the kernel .bz2 file:

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

$ cd /usr/src/linux-2.6.30.4/

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…