Post Reply  Post Thread 
How to compile a kernel
Author Message
admin
~CM~
*******


Posts: 147
Group: Administrators
Joined: Jul 2007
Status: Offline
Reputation: 0
Thank 0
2 was given thank in 2 posts
Post: #1
How to compile a kernel

1. Unpack the tarball in your home directory

Quote:
# bzip2 -dc linux-2.6.0.tar.bz2 tar xvf -


2. cd into the linux directory. You’ll now need to configure the kernel to select the features you want. There are several ways to do this..

Quote:
# make config –> Command line questions
# make oldconfig –> Useful only if you kept a .config from a previous kernel build
# make menuconfig –> ncurses based
# make gconfig –> GTK+ based X-Windows configuration
# make xconfig –> QT based X-Windows configuration


3. Now we can build the kernel

Quote:
# make


4. Install the modules

Quote:
# make modules_install


5. Install the new kernel..

Quote:
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.0
# cp System.map /boot/System.map-2.6.0


6. Edit /etc/lilo.conf, and add these lines…

Quote:
image = /boot/vmlinuz-2.6.0
label = 2.6.0


Thanks & Regards
------------------
~CM~

ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

07-25-2007 03:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How To Apply Patch to Kernel Source admin 1 2,623 01-04-2008 10:16 PM
Last Post: nikesh
  Linux Kernel Types admin 0 618 07-25-2007 03:16 AM
Last Post: admin

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: