develop a new kernel


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting develop a new kernel
# 1  
Old 03-24-2003
develop a new kernel

Hi people,
I am trying to install a second kernel on my Red Hat 8.0 machine.
the existing kernel is 2.4.18 and I am trying to have 2.4.20.
I already downloaded the source extracted it run make , make dep and make bzImage . Now when trying to copy the installed kernel image from /usr/src to /boot/ I don't see the file bzImage in boot directory.

This is all the files that I have in my /usr/src/linux/arch/i386/boot :

bootsect.S compressed install.sh Makefile setup.S tools video.S

Please let me know if I missed any step in the process.

cheers,
Bashir
# 2  
Old 03-25-2003
Steps should be:
[list=1][*]make config [*]make dep [*]make bzimage[/list=1]

When make bzimage stops processing, you can see the results logged on the screen, including where the image was created.
# 3  
Old 03-26-2003
developing new kernel

Hi Neo,
Thanks for the reply! Much appreciated.
I started all over again and this time instead of make I used make conf but it gives me this error:
make: *** No rule to make target `config'. Stop.

Also Do I have to run all these commands from the root or I need to be in /usr/src directory? I tried both and still the error msg was the same.

regards,
Bashir
# 4  
Old 03-27-2003
Please thoroughly read the README file in the /usr/src/linux* directory the source is in. It outlines the steps very clearly. Notably, you forgot to make and install modules, which you'll most likely want to do if you want a usable kernel (assuming it's not for an embedded kernel). Make sure to look at the output of make to make sure you don't get an error building the kernel. A common one I used to get when building the compressed image was that the kernel was too big to be bootable.
# 5  
Old 03-28-2003
Hi there,
I have followed all the steps now after editing lilo.conf and running it using lilo I get this error msg:

Fatal: No images have been defined.

I did copy the bzImage to the /boot.

regards,
Bashir
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I would like to have some exercises to develop my skills

Hi , I would like to do some exercises/scripts in order to develop my skills in shell scripts, can someone pass me some links/suggestions where i can find this? Thanks a lot :) (3 Replies)
Discussion started by: prpkrk
3 Replies

2. Shell Programming and Scripting

Help to Develop a LINUX macro?

Hi Experts, i would like to get your help to do some development to the below linux commands which i run under .cmd file in windows @echo off call f:\linuxutils\grep.exe "T11" f:\blocked_ranges\dump3.txt|f:\linuxutils\grep.exe ",9647800"|f:\linuxutils\grep.exe... (3 Replies)
Discussion started by: mustafa.abdulsa
3 Replies

3. Programming

Please help me to develop algorithm

Hi guys , in my study book from which I re-learn C is task to generate all possible characters combination from numbers entered by the user. I know this algorithm must use combinatorics to calculate all permutations. Problem is how to implement algortihm. // This program reads the four numbers... (0 Replies)
Discussion started by: solaris_user
0 Replies

4. UNIX for Dummies Questions & Answers

Help to develop a new application

Hi all, I am a beginner in advanced unix and just i finished my course in that so now I want to develop an application using advanced unix concepts and middleware technology, so that i can gain an initial working knowledge. Kindly give me a suggestion of what i can develop. (5 Replies)
Discussion started by: jimmyuk
5 Replies

5. Shell Programming and Scripting

Develop Program with 'None Interactive Flag'

Hi I have created a program but am currently wondering how to develop it further. I wanted to know how i would go about developing the program further so that it is able to run with a "none interactive flag" enabling execution to be automated with the resultant file e-mailed to a user once a week.... (1 Reply)
Discussion started by: warlock129
1 Replies

6. UNIX for Dummies Questions & Answers

How to develop C program using UNIX command

hai friend, I am new to linux... I have to develop C program using unix command and i know the SYSTEM command.. But i need other then SYSTEM comand, plz send me the sample code.... Thank you.. sundar (1 Reply)
Discussion started by: sundar.lsr
1 Replies

7. Shell Programming and Scripting

Develop 2 IPC System Calls

I need to develop 2 IPC system calls. 1) The first one allows sender to send a message to set of receivers in a single call. 2) The second one allows receiver to receives all message that have been sent to it in a single call Please help me in developing this system calls ....atleast how... (1 Reply)
Discussion started by: Anki
1 Replies

8. Programming

How to Develop a 2 IPC system calls

I need to develop 2 IPC system calls. 1) The first one allows sender to send a message to set of receivers in a single call. 2) The second one allows receiver to receives all message that have been sent to it in a single call Please help me in developing this system calls ....atleast how... (1 Reply)
Discussion started by: Anki
1 Replies

9. UNIX for Dummies Questions & Answers

unix develop environment

hi! i am Carlos i study @ UABC (Autonomy University of Baja California)... i have a final project.... i need to make a presentation of the new... unix develop environment... but... i have some problems with that.... could you tell me something to help me? (0 Replies)
Discussion started by: Nx GT-R
0 Replies
Login or Register to Ask a Question