• Post Reply Bookmark Topic Watch Topic
  • New Topic

kernel configuration and compilation  RSS feed

 
Renu, Vairagade
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am about to configure and compile my Linux kernel v2.2.4 (Redhat Linux 6.2) for the first time. I want to know whether there are any tools (GUI-based) that automate the process, or at least make it easy to handle for a first-timer?
Regards.
 
Tim Holloway
Saloon Keeper
Posts: 18797
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The configuration part can be done GUI-style.
Type "make menuconfig" at the command prompt. I think there's also a "make xconfig" option for an X Windows GUI config.
Once you've configured the kernel you wish to build, it's mostly just a set of "make" commands:
edit the makefile to set EXTRAVERSION to a name for your new kernel.
make dep
make clean
make bzImage
make modules
make modules-install
make install
edit /etc/lilo.conf to add the new kernel to the list of bootable kernels
run /sbin/lilo to register the updated lilo.conf
Except for the configure part - which can be very long, messy, and error-prone without a GUI, the steps are few and simple. If you need a GUI to run them, you're probably exceeding your technical skill level, since if any of those steps fails, it's going to require some specialized work to diagnose and repair.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!