• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Compiling Linux Kernel


I am currently trying to compile the Linux Kernel following instructions from http://www.tldp.org/HOWTO/Kernel-HOWTO.html. I am stuck at Part 2.3 step 10. I am planning to configure the new kernel with GRUB, but unfortunately there aren't any steps for me to follow in order to proceed with the configuration.

Can someone please help me so that I can continue with the compilation?
1 Solution
There is no direct connection between GRUB and kernel! After you compile the kernel as you want you must add that to your boot loader(GRUB or lilo). Copy the compiled kernel to the /boot directory and edit the /boot/grub/menu.lst. In that add your kernel as you need. If you want to keno about configuring ment.lst let me know.
minwAuthor Commented:
Yes please. I'll need all the help I can get.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


You want to add about your new kernel to the /etc/grub.conf file. copy your new kernel to /boot directory in any name.

title YOUR New Compiled Linux (2.4.18-14)
        root (hd0,1)
        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/1        
        initrd /boot/initrd-2.4.18-14.img

         modify your grb.conf file like this. replace /boot/vmlinuz-2.4.18-14 with your kernel name and /boot/initrd-2.4.18-14.img with your initrd image.

 dont forget to replace the root and LABEL entry with the corresponding one of yours.
Rather you need to add that in /boot/grub/menu.lst not in(is there a file exist like this?; for lilo we have a file as lilo.conf. But...) /etc/grub.conf!
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now