?
Solved

Compiling Linux Kernel

Posted on 2003-03-07
6
Medium Priority
?
266 Views
Last Modified: 2013-12-15
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
Comment
Question by:minw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Expert Comment

by:Chester_M_Ragel
ID: 8087143
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
 

Author Comment

by:minw
ID: 8092157
Yes please. I'll need all the help I can get.
0
 
LVL 6

Accepted Solution

by:
Chester_M_Ragel earned 400 total points
ID: 8100164
0
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 
LVL 1

Expert Comment

by:Rahmath
ID: 8128288

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
 
LVL 6

Expert Comment

by:Chester_M_Ragel
ID: 8133406
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
 

Expert Comment

by:CleanupPing
ID: 9079564
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question