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

Compiling Linux Kernel

Hello,

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?
0
minw
Asked:
minw
1 Solution
 
Chester_M_RagelCommented:
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.
0
 
minwAuthor Commented:
Yes please. I'll need all the help I can get.
0
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.

 
RahmathCommented:

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.
0
 
Chester_M_RagelCommented:
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!
0
 
CleanupPingCommented:
minw:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

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