LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2003, 02:56 AM   #1
usr
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
recompile kernel problem


I tried to recompile kernel but when I "make bzimage" I received an error: module not found.
How could I fix this?
Thanks!
 
Old 10-25-2003, 04:22 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
Which distribution are you using? However it works in your distro, you need to install the bzip2 package. You didn't list your distribution in your control panel, so we can only guess.

If you are using Debian, you should do apt-get install bzip2. Do a search on LQ for kernel compile, and you will find some How-To's that will point you in the right direction. You may also go to the Distribution Forum and do that search under the forum for your distribution.
 
Old 10-25-2003, 08:16 AM   #3
usr
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
I am using Red Hat 9.0
I have kernel 2.4.20 installed and I want to install the kernel 2.4.22 but it is a little bit harder than I thought.
the Commands(in folder /usr/src):
tar -xjf linux-2.4.22.tar.bz2
cd linux-2.4.22
make oldconfig
make dep
make clean
make bzimage

at "make oldconfig" I discovered a lots of thing I had no idea about so I just leave them with the default(recommended) setting.
everything was fine until "make bzimage" when I received this
make: *** No rule to make target `bzimage'. Stop.

what is the problem and how ca I fix this?
It is OK if I use make oldconfig (am a beginner and I understand just a few of many options I had to change, for example ntfs support and with the ones I didn't understood I leaved the recommended settings-for me this was the hardest part)

Excuse my newbies
 
Old 10-25-2003, 08:32 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
the 'i' in bzImage has to be uppercase, it is case sensitive
try
make bzImage

also remember to create a proper initrd otherwise it wont boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile Kernel problem CryptDragoon Linux - Newbie 3 10-09-2003 04:13 PM
Recompile Kernel problem CryptDragoon Linux - Newbie 1 10-09-2003 11:35 AM
kernel recompile problem gwroy20 Linux - Software 3 09-05-2003 11:56 PM
Kernel Recompile Problem Snabber Linux - Newbie 8 12-22-2002 04:56 PM
Kernel recompile problem DiBosco Linux - Software 4 01-22-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration