Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to compile (or build) a new kernel ?

Posted on 1999-07-29
9
Medium Priority
?
218 Views
Last Modified: 2013-12-05
I want to know how can I compile a newer kernel on my system(for example on REDHAT and SLACKWARE ).
pls dont tell me to read all the HOWTO and all other instructions that come with linux , I want to know only the practical things that I have to do !!!
also pls tell how to find this new and smart KERNEL
0
Comment
Question by:dudikdan
[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
  • 5
  • 4
9 Comments
 
LVL 2

Accepted Solution

by:
serena77 earned 40 total points
ID: 1635965
1- make menuconfig (or make config also make xconfig for X)    
         
        2- make dep
        3- make clean  
        4- make zImage (o make bzImage si el kernel image is too big)
        5- Optional to create a boot disk: make zdisk (o bzdisk)
        7- Modules: make modules  
                    make modules_install  

        8- lilo: Copy the kernel image by doing
           cp /usr/src/linux/arch/i386/boot/zImage /vmlinuz-2.2.5 or if you used  "make bzImage" do: cp /usr/src/linux/arch/i386/boot/bzImage /vmlinuz-2.2.5
           Edit /etc/lilo.conf change the line:

 image = /vmlinuz to image = /vmlinuz-2.2.10 or wathever
        9- Test your modules: a- depmod -a
                              b- Tmodprobe [module_name]
                                 
Good luck
Serena
0
 

Author Comment

by:dudikdan
ID: 1635966
can you be more specipic on details
0
 
LVL 2

Expert Comment

by:serena77
ID: 1635967
dudikdan: Have a look at this site

http://jgo.local.net/LinuxGuide/

(section system subsection compiling a kernel)


Regards

Serena
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

Author Comment

by:dudikdan
ID: 1635968
here can I download the most recent kernel ?
How can I know that which  kernel will run on specipic distribution (I mean if I have eg. REDHAT 5.1 or Slackware  is there specipic kernel for each of them , or all the kernel match all the distribution ? )

THNX DUDIK

0
 

Author Comment

by:dudikdan
ID: 1635969
can someone else add his profisionall opinion about my question ?

regards  DUDIK
0
 
LVL 2

Expert Comment

by:serena77
ID: 1635970
dudik, ALL the linux distributions have the SAME kernel...the linux kernel... To find out the version of the kernel type uname -a
        goto http://kernelnotes.org

0
 

Author Comment

by:dudikdan
ID: 1635971
how to install a new software on linux , or do some upgrade in easy or general way ???
I not understand what is MAKE and also I not a programmer
so it look to me very difficult
is there a easy way like in WINDOWS or all the users of LINUX have to be only programmers ?!

0
 

Author Comment

by:dudikdan
ID: 1635972
can someone please try to answer me
thank's
0
 
LVL 2

Expert Comment

by:serena77
ID: 1635973
use pre-compiled packages such as rpm

the command to install a new pack is rpm -ivh rpm_package


please have a look at http://jgo.local.net/LinuxGuide/
they explain the basics for linux

Good Luck

Serena
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

661 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