cuongk6t's Blog

How they do that – step by step

Build Linux Kernel – Step by step

leave a comment »

Step 1: Open Terminal console
Step 2: connect as “root” user:
#su –
Step 3: Go to your folder which is contain new kernel, ex: /home/mykernel
#cd /home/mykernel
Step 4: Download linux kernel (reference:
My choice is kernel v2.6:
Step 5: extract kernel
#bzip2 –dc linux-2.6.39.tar.bz2 | tar xvf –
Step 6: move to folder extracted
#cd linux-2.6.39
Step 7:
#make dep
Step 8:
#make clean
Step 9:
#make bzImage
Note: Step 7 –> 9: you can do with one command: #make dep clean bzImage
Step 10:
#make modules
Step 11:
#make modules_install
Step 12: Install kernel (to current kernel – make sure backup before do that)
#make install


@5/2011 – cuongk6t – nguyen quoc cuong.


Written by cuongk6t

24/05/2011 at 8:38 am

Posted in Linux Tutorial

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: